From e365a606edca6102edff827adfca1d6c487ebe61 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 20 Jul 1995 19:57:07 +0000 Subject: [PATCH] * hosts/i386v4.h (getgid, getuid): Change prototypes to be compatible with Unixware 1.x and Unixware 2.x, and probably other i386 svr4 versions as well. --- bfd/ChangeLog | 6 ++++++ bfd/hosts/i386v4.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e2df00cbda..26ffeb6aa8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 20 13:48:00 1995 Fred Fish + + * hosts/i386v4.h (getgid, getuid): Change prototypes to be + compatible with Unixware 1.x and Unixware 2.x, and probably other + i386 svr4 versions as well. + Thu Jul 20 13:41:21 1995 Ken Raeburn * targets.c (bfd_target_vector): Since armpe and armpei have been diff --git a/bfd/hosts/i386v4.h b/bfd/hosts/i386v4.h index 68af5e174c..655e5545bd 100644 --- a/bfd/hosts/i386v4.h +++ b/bfd/hosts/i386v4.h @@ -25,8 +25,8 @@ extern void exit PARAMS ((int)); extern int fclose PARAMS ((FILE*)); extern void free PARAMS ((PTR)); extern int fseek PARAMS ((FILE*, long, int)); -extern int getgid PARAMS (()); -extern int getuid PARAMS (()); +extern gid_t getgid PARAMS ((void)); +extern uid_t getuid PARAMS ((void)); extern PTR malloc PARAMS ((unsigned)); extern void perror PARAMS ((CONST char *)); extern PTR realloc PARAMS ((PTR, unsigned));