1Avoid collision with C library using NO_PROTOTYPES found in code already 2 3Patch by Robin Getz <rgetz@blackfin.uclinux.org> 4 5--- a/dhry_1.c 6+++ b/dhry_1.c 7@@ -28,7 +28,9 @@ 8 int Arr_1_Glob [50]; 9 int Arr_2_Glob [50] [50]; 10 11+#ifndef NO_PROTOTYPES 12 extern char *malloc (); 13+#endif 14 Enumeration Func_1 (); 15 /* forward declaration necessary since Enumeration may not simply be int */ 16 17@@ -45,14 +45,18 @@ 18 19 #ifdef TIMES 20 struct tms time_info; 21+#ifndef NO_PROTOTYPES 22 extern int times (); 23 /* see library function "times" */ 24+#endif 25 #define Too_Small_Time 120 26 /* Measurements should last at least about 2 seconds */ 27 #endif 28 #ifdef TIME 29+#ifndef NO_PROTOTYPES 30 extern long time(); 31 /* see library function "time" */ 32+#endif 33 #define Too_Small_Time 2 34 /* Measurements should last at least 2 seconds */ 35 #endif 36