diff options
author | Doug Evans <dje@gnu.org> | 1996-08-15 18:59:44 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-08-15 18:59:44 +0000 |
commit | 1271a76a07ea23917a755aa07737fc838051bb80 (patch) | |
tree | aeaea36bff4fe3b921c073ce5557a6a162e972d7 /gcc/sys-protos.h | |
parent | 3f8b69de79b62b2295851937aafbccf3f0fefefb (diff) | |
download | gcc-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.h | 4 |
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); |