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:
parent
fd604f2878
commit
664c44bb96
|
@ -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>
|
Mon Oct 18 23:59:17 PDT 1999 Mandrake <mandrake@mandrake.net>
|
||||||
|
|
||||||
More warning bashing in Esetroot.c
|
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
|
||||||
|
|
|
@ -133,6 +133,14 @@ static const char cvs_ident[] = "$Id$";
|
||||||
#endif
|
#endif
|
||||||
#include "windows.h"
|
#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 */
|
/* local variables */
|
||||||
int my_ruid, my_euid, my_rgid, my_egid;
|
int my_ruid, my_euid, my_rgid, my_egid;
|
||||||
char initial_dir[PATH_MAX + 1];
|
char initial_dir[PATH_MAX + 1];
|
||||||
|
@ -1181,6 +1189,7 @@ sco_get_pty(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_DEV_PTMX
|
#ifdef HAVE_DEV_PTMX
|
||||||
|
inline int svr_get_pty(void);
|
||||||
inline int
|
inline int
|
||||||
svr_get_pty(void)
|
svr_get_pty(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,8 @@ int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int scale = FALSE, trans = FALSE;
|
int scale = FALSE, trans = FALSE;
|
||||||
unsigned int i, pic = 0;
|
unsigned int pic = 0;
|
||||||
|
int i;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcasecmp(argv[i], "-scale") == 0) {
|
if (strcasecmp(argv[i], "-scale") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue