summary refs log tree commit diff
path: root/stdlib/testsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/testsort.c')
-rw-r--r--stdlib/testsort.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdlib/testsort.c b/stdlib/testsort.c
index a171a62130..041de5caca 100644
--- a/stdlib/testsort.c
+++ b/stdlib/testsort.c
@@ -1,17 +1,16 @@
-#include <ansidecl.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 
 int
-DEFUN(compare, (a, b), CONST PTR a AND CONST PTR b)
+compare (a, b)
+     const char *a, *b;
 {
   return strcmp (*(char **) a, *(char **) b);
 }
 
-
 int
-DEFUN_VOID(main)
+main (void)
 {
   char bufs[500][20];
   char *lines[500];