qsort arg was wrong for ANSI C
authorceriel <none@none>
Wed, 16 Oct 1991 16:08:27 +0000 (16:08 +0000)
committerceriel <none@none>
Wed, 16 Oct 1991 16:08:27 +0000 (16:08 +0000)
lang/fortran/comp/sysdep.c

index 62ec74c..dc5e06f 100644 (file)
@@ -350,8 +350,12 @@ dsort(from, to)
 #else
 
  static int
+#ifdef __STDC__
+compare(const void *a, const void *b)
+#else
 compare(a,b)
  char *a, *b;
+#endif
 { return strcmp(*(char **)a, *(char **)b); }
 
 dsort(from, to)