public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2b151
)
qsort arg was wrong for ANSI C
author
ceriel
<none@none>
Wed, 16 Oct 1991 16:08:27 +0000
(16:08 +0000)
committer
ceriel
<none@none>
Wed, 16 Oct 1991 16:08:27 +0000
(16:08 +0000)
lang/fortran/comp/sysdep.c
patch
|
blob
|
history
diff --git
a/lang/fortran/comp/sysdep.c
b/lang/fortran/comp/sysdep.c
index
62ec74c
..
dc5e06f
100644
(file)
--- 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)