summaryrefslogtreecommitdiff
path: root/gcc/sys-protos.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-08-15 18:59:44 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-08-15 18:59:44 +0000
commit7a35406b20823b1f1eda65bbab92bb93faa7edb8 (patch)
treeaeaea36bff4fe3b921c073ce5557a6a162e972d7 /gcc/sys-protos.h
parent984c9abdf96eb065cbb434b608f190a910a7cd21 (diff)
downloadgcc-7a35406b20823b1f1eda65bbab92bb93faa7edb8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12642 138bc75d-0d04-0410-961f-82ee72b054a4
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 566569d86e7..ab6e407e8f1 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);