From 45ff2eb1ace848e50661fec0e76b32eb72f3e74c Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Tue, 13 Aug 1991 05:46:06 +0000 Subject: [PATCH] Make ANSI declaration use GNU EXFUN macro to allow non-ANSI compilers to handle it. --- v7/src/microcode/pruxenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.25.1