Make ANSI declaration use GNU EXFUN macro to allow non-ANSI compilers
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 13 Aug 1991 05:46:06 +0000 (05:46 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 13 Aug 1991 05:46:06 +0000 (05:46 +0000)
to handle it.

v7/src/microcode/pruxenv.c

index f655b7da150a0e4b6b5b1327085ad16109039b91..eaa68ad52959aeafac21c3b3029babe0607fabd4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/pruxenv.c,v 1.2 1991/08/12 22:15:40 markf Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/pruxenv.c,v 1.3 1991/08/13 05:46:06 jinx Exp $
 
 Copyright (c) 1990 Massachusetts Institute of Technology
 
@@ -156,7 +156,7 @@ DEFINE_PRIMITIVE ("FULL-HOSTNAME", Prim_full_hostname, 0, 0,
   {
     char this_host_name[HOSTNAMESIZE];
 #ifdef HAVE_SOCKETS
-    struct hostent *gethostbyname(char *);
+    struct hostent * EXFUN (gethostbyname, (char *));
     struct hostent *this_host_entry;
 #endif
     STD_VOID_SYSTEM_CALL (syscall_gethostname,