From: Guillermo J. Rozas <edu/mit/csail/zurich/gjr> Date: Tue, 13 Aug 1991 05:46:06 +0000 (+0000) Subject: Make ANSI declaration use GNU EXFUN macro to allow non-ANSI compilers X-Git-Tag: 20090517-FFI~10375 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=45ff2eb1ace848e50661fec0e76b32eb72f3e74c;p=mit-scheme.git Make ANSI declaration use GNU EXFUN macro to allow non-ANSI compilers to handle it. --- diff --git a/v7/src/microcode/pruxenv.c b/v7/src/microcode/pruxenv.c index f655b7da1..eaa68ad52 100644 --- a/v7/src/microcode/pruxenv.c +++ b/v7/src/microcode/pruxenv.c @@ -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,