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


SVN revision: 871
This commit is contained in:
Mandrake 1999-10-19 01:22:10 +00:00
parent fd604f2878
commit 664c44bb96
3 changed files with 20 additions and 1 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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) {