summaryrefslogtreecommitdiff
path: root/gcc/sys-protos.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-08 18:49:36 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-08 18:49:36 +0000
commit188b58082282e7953abaa5c1043aa27a821bda5f (patch)
treeb2aab9adbc31612acc75e454003d4c41a8c061d5 /gcc/sys-protos.h
parent566cea9c536e5c58b0d3854d45080ab8163406d1 (diff)
downloadgcc-188b58082282e7953abaa5c1043aa27a821bda5f.tar.gz
(getrlimit, getrusage, setrlimit): Return int not void.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5286 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sys-protos.h')
-rw-r--r--gcc/sys-protos.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/sys-protos.h b/gcc/sys-protos.h
index c9b60f82976..c11d9db0be2 100644
--- a/gcc/sys-protos.h
+++ b/gcc/sys-protos.h
@@ -484,12 +484,12 @@ extern int getpw(int, char *);
extern struct passwd * getpwent(void);
extern struct passwd * getpwnam(const char *);
extern struct passwd * getpwuid(uid_t);
-extern void getrlimit(int, struct rlimit *);
+extern int getrlimit(int, struct rlimit *);
extern int getrnge(char *);
extern struct rpcent * getrpcbyname(const char *);
extern struct rpcent * getrpcbynumber(int);
extern struct rpcent * getrpcent(void);
-extern void getrusage(int, struct rusage *);
+extern int getrusage(int, struct rusage *);
extern char * gets(char *);
extern struct servent * getservbyname(/* ??? */);
extern struct servent * getservbyport(/* ??? */);
@@ -990,7 +990,7 @@ extern int setprivwait(/* ??? */);
extern void setpwent(void);
extern int setregid(gid_t, gid_t);
extern int setreuid(uid_t, uid_t);
-extern void setrlimit(int, struct rlimit *);
+extern int setrlimit(int, struct rlimit *);
extern int setrpcent(int);
extern pid_t setsid(void);
extern void setspent(void);