From 19a47cfa525c73091e3d02f2895b480da04fe5af Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 16 Oct 1991 16:08:27 +0000 Subject: [PATCH] qsort arg was wrong for ANSI C --- lang/fortran/comp/sysdep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/fortran/comp/sysdep.c b/lang/fortran/comp/sysdep.c index 62ec74c59..dc5e06f74 100644 --- a/lang/fortran/comp/sysdep.c +++ b/lang/fortran/comp/sysdep.c @@ -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) -- 2.34.1