summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--src/command.c9
-rw-r--r--utils/Etbg.c3
3 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f43cee..3ad0aa6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2599,4 +2599,13 @@ Mon Oct 18 19:33:26 PDT 1999 Mandrake <mandrake@mandrake.net>
Mon Oct 18 23:59:17 PDT 1999 Mandrake <mandrake@mandrake.net>
More warning bashing in Esetroot.c
+
-------------------------------------------------------------------------------
+
+Tue Oct 19 00:13:17 PDT 1999 Mandrake <mandrake@mandrake.net>
+
+ Almost all the warnings are gone. only 3 remain on my system at home.
+ two in command.c (where do I get proper prototypes for grantpt() and
+ unlockpt()?) and one in options.c that is bizarre:
+ options.c:3433: warning: `%x' yields only last 2 digits of year in some
+ locales
diff --git a/src/command.c b/src/command.c
index a2b4033..b044e7d 100644
--- a/src/command.c
+++ b/src/command.c
@@ -133,6 +133,14 @@ static const char cvs_ident[] = "$Id$";
#endif
#include "windows.h"
+#ifdef HAVE_SETRESGID
+int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
+#endif
+
+#ifdef HAVE_SETRESUID
+int setresuid(uid_t ruid, uid_t euid, uid_t suid);
+#endif
+
/* local variables */
int my_ruid, my_euid, my_rgid, my_egid;
char initial_dir[PATH_MAX + 1];
@@ -1181,6 +1189,7 @@ sco_get_pty(void)
#endif
#ifdef HAVE_DEV_PTMX
+inline int svr_get_pty(void);
inline int
svr_get_pty(void)
{
diff --git a/utils/Etbg.c b/utils/Etbg.c
index 24e10d3..6723324 100644
--- a/utils/Etbg.c
+++ b/utils/Etbg.c
@@ -37,7 +37,8 @@ int
main(int argc, char **argv)
{
int scale = FALSE, trans = FALSE;
- unsigned int i, pic = 0;
+ unsigned int pic = 0;
+ int i;
for (i = 1; i < argc; i++) {
if (strcasecmp(argv[i], "-scale") == 0) {