aboutsummaryrefslogtreecommitdiff
path: root/gcc/sys-protos.h
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-08-15 18:59:44 +0000
committerDoug Evans <dje@gnu.org>1996-08-15 18:59:44 +0000
commit1271a76a07ea23917a755aa07737fc838051bb80 (patch)
treeaeaea36bff4fe3b921c073ce5557a6a162e972d7 /gcc/sys-protos.h
parent3f8b69de79b62b2295851937aafbccf3f0fefefb (diff)
downloadgcc-1271a76a07ea23917a755aa07737fc838051bb80.zip
gcc-1271a76a07ea23917a755aa07737fc838051bb80.tar.gz
gcc-1271a76a07ea23917a755aa07737fc838051bb80.tar.bz2
sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
* sys-protos.h (gethostid): Make return type `int' ifdef __alpha__. * gen-protos.c: Delete support for SYS_PROTO_OVERRIDES. * alpha/alpha.h (SYS_PROTO_OVERRIDES): Delete. From-SVN: r12642
Diffstat (limited to 'gcc/sys-protos.h')
-rw-r--r--gcc/sys-protos.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sys-protos.h b/gcc/sys-protos.h
index 566569d..ab6e407 100644
--- a/gcc/sys-protos.h
+++ b/gcc/sys-protos.h
@@ -449,7 +449,11 @@ extern int getgroups(int, gid_t *);
extern struct hostent * gethostbyaddr(/* ??? */);
extern struct hostent * gethostbyname(/* ??? */);
extern struct hostent * gethostent(/* ??? */);
+#ifdef __alpha__
+extern int gethostid(void);
+#else
extern long gethostid(void);
+#endif
extern int gethostname(char *, size_t);
extern int getitimer(int, struct itimerval *);
extern char * getlogin(void);