some compiler may ask if strstr would have to be used instead, which is wrong
void NewDrawLine( int x1, int y1, int x2, int y2, unsigned char* picture, int width, int height );
#if !GDEF_OS_WINDOWS
-
-void strupr( char *string ){
- int i;
-
- for ( i = 0 ; i < strlen( string ); i++ )
- toupper( string[i] );
-
- return;
+char *strupr (char *start)
+{
+ char *in;
+ in = start;
+ while (*in)
+ {
+ *in = toupper(*in);
+ in++;
+ }
+ return start;
}
-
#endif
+
//==============================================================
/*