Lint part 1, unused variables, routines, and return codes.
This commit is contained in:
@@ -27,7 +27,9 @@ E char SAVEP[];
|
|||||||
E NEARDATA int bases[MAXOCLASSES];
|
E NEARDATA int bases[MAXOCLASSES];
|
||||||
|
|
||||||
E NEARDATA int multi;
|
E NEARDATA int multi;
|
||||||
|
#if 0
|
||||||
E NEARDATA int warnlevel;
|
E NEARDATA int warnlevel;
|
||||||
|
#endif
|
||||||
E NEARDATA int nroom;
|
E NEARDATA int nroom;
|
||||||
E NEARDATA int nsubroom;
|
E NEARDATA int nsubroom;
|
||||||
E NEARDATA int occtime;
|
E NEARDATA int occtime;
|
||||||
|
|||||||
+2
-2
@@ -1406,7 +1406,6 @@ E void FDECL(msleep, (unsigned));
|
|||||||
/* ### pcunix.c ### */
|
/* ### pcunix.c ### */
|
||||||
|
|
||||||
#if defined(MICRO)
|
#if defined(MICRO)
|
||||||
E void FDECL(gethdate, (char *));
|
|
||||||
E void FDECL(regularize, (char *));
|
E void FDECL(regularize, (char *));
|
||||||
#endif /* MICRO */
|
#endif /* MICRO */
|
||||||
#if defined(PC_LOCKING)
|
#if defined(PC_LOCKING)
|
||||||
@@ -2012,7 +2011,6 @@ E void VDECL(error, (const char *,...)) PRINTF_F(1,2);
|
|||||||
/* ### unixunix.c ### */
|
/* ### unixunix.c ### */
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
E void FDECL(gethdate, (const char *));
|
|
||||||
E void NDECL(getlock);
|
E void NDECL(getlock);
|
||||||
E void FDECL(regularize, (char *));
|
E void FDECL(regularize, (char *));
|
||||||
# ifdef SHELL
|
# ifdef SHELL
|
||||||
@@ -2026,7 +2024,9 @@ E int FDECL(child, (int));
|
|||||||
/* ### unixres.c ### */
|
/* ### unixres.c ### */
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
|
# ifdef GNOME_GRAPHICS
|
||||||
E int FDECL(hide_privileges, (BOOLEAN_P));
|
E int FDECL(hide_privileges, (BOOLEAN_P));
|
||||||
|
# endif
|
||||||
#endif /* UNIX */
|
#endif /* UNIX */
|
||||||
|
|
||||||
/* ### vault.c ### */
|
/* ### vault.c ### */
|
||||||
|
|||||||
@@ -1860,6 +1860,7 @@ struct obj *otmp;
|
|||||||
case WAX:
|
case WAX:
|
||||||
color = "waxy";
|
color = "waxy";
|
||||||
goto see_streaks; /* okay even if not touchstone */
|
goto see_streaks; /* okay even if not touchstone */
|
||||||
|
/*NOTREACHED*/
|
||||||
break;
|
break;
|
||||||
case CLOTH:
|
case CLOTH:
|
||||||
pline_The("stone looks a little more polished now.");
|
pline_The("stone looks a little more polished now.");
|
||||||
@@ -1867,6 +1868,7 @@ struct obj *otmp;
|
|||||||
case WOOD:
|
case WOOD:
|
||||||
color = "wooden";
|
color = "wooden";
|
||||||
goto see_streaks; /* okay even if not touchstone */
|
goto see_streaks; /* okay even if not touchstone */
|
||||||
|
/*NOTREACHED*/
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -20,7 +20,9 @@ char *catmore = 0; /* default pager */
|
|||||||
NEARDATA int bases[MAXOCLASSES] = DUMMY;
|
NEARDATA int bases[MAXOCLASSES] = DUMMY;
|
||||||
|
|
||||||
NEARDATA int multi = 0;
|
NEARDATA int multi = 0;
|
||||||
|
#if 0
|
||||||
NEARDATA int warnlevel = 0; /* used by movemon and dochugw */
|
NEARDATA int warnlevel = 0; /* used by movemon and dochugw */
|
||||||
|
#endif
|
||||||
NEARDATA int nroom = 0;
|
NEARDATA int nroom = 0;
|
||||||
NEARDATA int nsubroom = 0;
|
NEARDATA int nsubroom = 0;
|
||||||
NEARDATA int occtime = 0;
|
NEARDATA int occtime = 0;
|
||||||
|
|||||||
@@ -469,7 +469,7 @@ register struct obj *obj;
|
|||||||
char buf[BUFSZ];
|
char buf[BUFSZ];
|
||||||
|
|
||||||
/* doname can call s_suffix, reusing its buffer */
|
/* doname can call s_suffix, reusing its buffer */
|
||||||
strcpy(buf, s_suffix(mon_nam(u.ustuck)));
|
Strcpy(buf, s_suffix(mon_nam(u.ustuck)));
|
||||||
You("drop %s into %s %s.", doname(obj), buf,
|
You("drop %s into %s %s.", doname(obj), buf,
|
||||||
mbodypart(u.ustuck, STOMACH));
|
mbodypart(u.ustuck, STOMACH));
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -336,7 +336,7 @@ register int x,y;
|
|||||||
char *et;
|
char *et;
|
||||||
unsigned maxelen = BUFSZ - sizeof("You feel the words: \"\". ");
|
unsigned maxelen = BUFSZ - sizeof("You feel the words: \"\". ");
|
||||||
if (strlen(ep->engr_txt) > maxelen) {
|
if (strlen(ep->engr_txt) > maxelen) {
|
||||||
strncpy(buf, ep->engr_txt, maxelen);
|
(void) strncpy(buf, ep->engr_txt, maxelen);
|
||||||
buf[maxelen] = '\0';
|
buf[maxelen] = '\0';
|
||||||
et = buf;
|
et = buf;
|
||||||
} else
|
} else
|
||||||
|
|||||||
+5
-5
@@ -550,7 +550,7 @@ boolean test_only;
|
|||||||
uwep && is_pick(uwep)) {
|
uwep && is_pick(uwep)) {
|
||||||
/* MRKR: Automatic digging when wielding the appropriate tool */
|
/* MRKR: Automatic digging when wielding the appropriate tool */
|
||||||
if (!test_only)
|
if (!test_only)
|
||||||
use_pick_axe2(uwep);
|
(void) use_pick_axe2(uwep);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
if ( !test_only ) {
|
if ( !test_only ) {
|
||||||
@@ -668,9 +668,9 @@ static void findtravelpath()
|
|||||||
xchar travelstepy[2][COLNO*ROWNO];
|
xchar travelstepy[2][COLNO*ROWNO];
|
||||||
int n=1;
|
int n=1;
|
||||||
int set=0;
|
int set=0;
|
||||||
int d=1;
|
int dia=1;
|
||||||
|
|
||||||
memset(travel,0,sizeof(travel));
|
(void) memset(travel,0,sizeof(travel));
|
||||||
|
|
||||||
travelstepx[0][0] = u.tx;
|
travelstepx[0][0] = u.tx;
|
||||||
travelstepy[0][0] = u.ty;
|
travelstepy[0][0] = u.ty;
|
||||||
@@ -699,7 +699,7 @@ static void findtravelpath()
|
|||||||
if ( !travel[nx][ny] ) {
|
if ( !travel[nx][ny] ) {
|
||||||
travelstepx[1-set][nn]=nx;
|
travelstepx[1-set][nn]=nx;
|
||||||
travelstepy[1-set][nn]=ny;
|
travelstepy[1-set][nn]=ny;
|
||||||
travel[nx][ny]=d;
|
travel[nx][ny]=dia;
|
||||||
nn++;
|
nn++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -708,7 +708,7 @@ static void findtravelpath()
|
|||||||
}
|
}
|
||||||
n = nn;
|
n = nn;
|
||||||
set = 1-set;
|
set = 1-set;
|
||||||
d++;
|
dia++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* give up */
|
/* give up */
|
||||||
|
|||||||
+1
-1
@@ -507,7 +507,7 @@ int spellnum;
|
|||||||
destroy_item(SCROLL_CLASS, AD_FIRE);
|
destroy_item(SCROLL_CLASS, AD_FIRE);
|
||||||
destroy_item(POTION_CLASS, AD_FIRE);
|
destroy_item(POTION_CLASS, AD_FIRE);
|
||||||
destroy_item(SPBOOK_CLASS, AD_FIRE);
|
destroy_item(SPBOOK_CLASS, AD_FIRE);
|
||||||
burn_floor_paper(u.ux, u.uy, TRUE, FALSE);
|
(void) burn_floor_paper(u.ux, u.uy, TRUE, FALSE);
|
||||||
break;
|
break;
|
||||||
case CLC_LIGHTNING:
|
case CLC_LIGHTNING:
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -383,7 +383,8 @@ register struct monst *mtmp;
|
|||||||
pline("%s burns slightly.", Monnam(mtmp));
|
pline("%s burns slightly.", Monnam(mtmp));
|
||||||
}
|
}
|
||||||
if (mtmp->mhp > 0) {
|
if (mtmp->mhp > 0) {
|
||||||
fire_damage(mtmp->minvent, FALSE, FALSE, mtmp->mx, mtmp->my);
|
(void) fire_damage(mtmp->minvent, FALSE, FALSE,
|
||||||
|
mtmp->mx, mtmp->my);
|
||||||
rloc(mtmp);
|
rloc(mtmp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -1395,16 +1396,16 @@ register struct monst *mtmp;
|
|||||||
|
|
||||||
/* TRUE if corpse might be dropped, magr may die if mon was swallowed */
|
/* TRUE if corpse might be dropped, magr may die if mon was swallowed */
|
||||||
boolean
|
boolean
|
||||||
corpse_chance(mon, magr, swallowed)
|
corpse_chance(mon, magr, was_swallowed)
|
||||||
struct monst *mon;
|
struct monst *mon;
|
||||||
struct monst *magr; /* killer, if swallowed */
|
struct monst *magr; /* killer, if swallowed */
|
||||||
boolean swallowed; /* digestion */
|
boolean was_swallowed; /* digestion */
|
||||||
{
|
{
|
||||||
struct permonst *mdat = mon->data;
|
struct permonst *mdat = mon->data;
|
||||||
int i, tmp;
|
int i, tmp;
|
||||||
|
|
||||||
if (mdat == &mons[PM_VLAD_THE_IMPALER] || mdat->mlet == S_LICH) {
|
if (mdat == &mons[PM_VLAD_THE_IMPALER] || mdat->mlet == S_LICH) {
|
||||||
if (cansee(mon->mx, mon->my) && !swallowed)
|
if (cansee(mon->mx, mon->my) && !was_swallowed)
|
||||||
pline("%s body crumbles into dust.", s_suffix(Monnam(mon)));
|
pline("%s body crumbles into dust.", s_suffix(Monnam(mon)));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@@ -1419,7 +1420,7 @@ boolean swallowed; /* digestion */
|
|||||||
tmp = d((int)mdat->mlevel+1, (int)mdat->mattk[i].damd);
|
tmp = d((int)mdat->mlevel+1, (int)mdat->mattk[i].damd);
|
||||||
else tmp = 0;
|
else tmp = 0;
|
||||||
if (Half_physical_damage) tmp = (tmp+1) / 2;
|
if (Half_physical_damage) tmp = (tmp+1) / 2;
|
||||||
if (swallowed && magr) {
|
if (was_swallowed && magr) {
|
||||||
if (magr == &youmonst) {
|
if (magr == &youmonst) {
|
||||||
There("is an explosion in your %s!",
|
There("is an explosion in your %s!",
|
||||||
body_part(STOMACH));
|
body_part(STOMACH));
|
||||||
|
|||||||
@@ -2373,7 +2373,6 @@ boolean setinitial,setfromfile;
|
|||||||
retval = TRUE;
|
retval = TRUE;
|
||||||
} else if (!strcmp("disclose", optname)) {
|
} else if (!strcmp("disclose", optname)) {
|
||||||
int pick_cnt, pick_idx, opt_idx;
|
int pick_cnt, pick_idx, opt_idx;
|
||||||
winid tmpwin;
|
|
||||||
menu_item *disclosure_category_pick = (menu_item *)0;
|
menu_item *disclosure_category_pick = (menu_item *)0;
|
||||||
/*
|
/*
|
||||||
* The order of disclose_names[]
|
* The order of disclose_names[]
|
||||||
|
|||||||
@@ -2133,9 +2133,7 @@ boolean put_in;
|
|||||||
menu_item *pick_list;
|
menu_item *pick_list;
|
||||||
int mflags, res;
|
int mflags, res;
|
||||||
long count;
|
long count;
|
||||||
boolean all_blessed, all_cursed, all_uncursed, all_buc_unknown;
|
|
||||||
|
|
||||||
all_blessed = all_cursed = all_uncursed = all_buc_unknown = FALSE;
|
|
||||||
if (retry) {
|
if (retry) {
|
||||||
all_categories = (retry == -2);
|
all_categories = (retry == -2);
|
||||||
} else if (flags.menu_style == MENU_FULL) {
|
} else if (flags.menu_style == MENU_FULL) {
|
||||||
|
|||||||
+3
-3
@@ -960,11 +960,11 @@ dogaze()
|
|||||||
dmg = 0;
|
dmg = 0;
|
||||||
}
|
}
|
||||||
if((int) u.ulevel > rn2(20))
|
if((int) u.ulevel > rn2(20))
|
||||||
destroy_mitem(mtmp, SCROLL_CLASS, AD_FIRE);
|
(void) destroy_mitem(mtmp, SCROLL_CLASS, AD_FIRE);
|
||||||
if((int) u.ulevel > rn2(20))
|
if((int) u.ulevel > rn2(20))
|
||||||
destroy_mitem(mtmp, POTION_CLASS, AD_FIRE);
|
(void) destroy_mitem(mtmp, POTION_CLASS, AD_FIRE);
|
||||||
if((int) u.ulevel > rn2(25))
|
if((int) u.ulevel > rn2(25))
|
||||||
destroy_mitem(mtmp, SPBOOK_CLASS, AD_FIRE);
|
(void) destroy_mitem(mtmp, SPBOOK_CLASS, AD_FIRE);
|
||||||
if (dmg && !DEADMONSTER(mtmp)) mtmp->mhp -= dmg;
|
if (dmg && !DEADMONSTER(mtmp)) mtmp->mhp -= dmg;
|
||||||
if (mtmp->mhp <= 0) killed(mtmp);
|
if (mtmp->mhp <= 0) killed(mtmp);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -91,7 +91,7 @@ doread()
|
|||||||
u.uconduct.literate++;
|
u.uconduct.literate++;
|
||||||
if(flags.verbose)
|
if(flags.verbose)
|
||||||
pline("It reads:");
|
pline("It reads:");
|
||||||
strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]);
|
Strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]);
|
||||||
erosion = greatest_erosion(scroll);
|
erosion = greatest_erosion(scroll);
|
||||||
if (erosion)
|
if (erosion)
|
||||||
wipeout_text(buf,
|
wipeout_text(buf,
|
||||||
|
|||||||
+2
-1
@@ -248,7 +248,8 @@ register int nux,nuy;
|
|||||||
|
|
||||||
/* this should only drag the chain (and never give a near-
|
/* this should only drag the chain (and never give a near-
|
||||||
capacity message) since we already checked ball distance */
|
capacity message) since we already checked ball distance */
|
||||||
drag_ball(u.ux, u.uy, &bc_control, &ballx, &bally, &chainx, &chainy, &cause_delay);
|
(void) drag_ball(u.ux, u.uy, &bc_control, &ballx, &bally,
|
||||||
|
&chainx, &chainy, &cause_delay);
|
||||||
move_bc(0, bc_control, ballx, bally, chainx, chainy);
|
move_bc(0, bc_control, ballx, bally, chainx, chainy);
|
||||||
} else
|
} else
|
||||||
placebc();
|
placebc();
|
||||||
|
|||||||
@@ -2316,6 +2316,7 @@ xchar x, y;
|
|||||||
switch (obj->otyp) {
|
switch (obj->otyp) {
|
||||||
case ICE_BOX:
|
case ICE_BOX:
|
||||||
continue; /* Immune */
|
continue; /* Immune */
|
||||||
|
/*NOTREACHED*/
|
||||||
break;
|
break;
|
||||||
case CHEST:
|
case CHEST:
|
||||||
chance = 40;
|
chance = 40;
|
||||||
|
|||||||
+1
-2
@@ -231,8 +231,7 @@ char *argv[];
|
|||||||
u.ux = 0; /* prevent flush_screen() */
|
u.ux = 0; /* prevent flush_screen() */
|
||||||
|
|
||||||
/* chdir shouldn't be called before this point to keep the
|
/* chdir shouldn't be called before this point to keep the
|
||||||
* code parallel to other ports which call gethdate just
|
* code parallel to other ports.
|
||||||
* before here.
|
|
||||||
*/
|
*/
|
||||||
#ifdef CHDIR
|
#ifdef CHDIR
|
||||||
chdirx(hackdir,1);
|
chdirx(hackdir,1);
|
||||||
|
|||||||
@@ -33,62 +33,6 @@ static struct stat hbuf;
|
|||||||
static int NDECL(eraseoldlocks);
|
static int NDECL(eraseoldlocks);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
|
||||||
gethdate(name)
|
|
||||||
char *name;
|
|
||||||
{
|
|
||||||
# ifdef WANT_GETHDATE
|
|
||||||
#if 0
|
|
||||||
/* old version - for people short of space */
|
|
||||||
|
|
||||||
register char *np;
|
|
||||||
if(stat(name, &hbuf))
|
|
||||||
error("Cannot get status of %s.",
|
|
||||||
(np = rindex(name, '/')) ? np+1 : name);
|
|
||||||
#endif
|
|
||||||
/* version using PATH from: seismo!gregc@ucsf-cgl.ARPA (Greg Couch) */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The problem with #include <sys/param.h> is that this include file
|
|
||||||
* does not exist on all systems, and moreover, that it sometimes includes
|
|
||||||
* <sys/types.h> again, so that the compiler sees these typedefs twice.
|
|
||||||
*/
|
|
||||||
#define MAXPATHLEN 1024
|
|
||||||
|
|
||||||
register char *np, *path;
|
|
||||||
char filename[MAXPATHLEN+1], *getenv();
|
|
||||||
int pathlen;
|
|
||||||
|
|
||||||
if (index(name, '/') != (char *)0 || (path = getenv("PATH")) == (char *)0)
|
|
||||||
path = "";
|
|
||||||
|
|
||||||
for (;;) {
|
|
||||||
if ((np = index(path, ':')) == (char *)0)
|
|
||||||
np = path + strlen(path); /* point to end str */
|
|
||||||
pathlen = np - path;
|
|
||||||
if (pathlen > MAXPATHLEN)
|
|
||||||
pathlen = MAXPATHLEN;
|
|
||||||
if (pathlen <= 1) { /* %% */
|
|
||||||
(void) strncpy(filename, name, MAXPATHLEN);
|
|
||||||
} else {
|
|
||||||
(void) strncpy(filename, path, pathlen);
|
|
||||||
filename[pathlen] = '/';
|
|
||||||
(void) strncpy(filename + pathlen + 1, name,
|
|
||||||
(MAXPATHLEN - 1) - pathlen);
|
|
||||||
}
|
|
||||||
filename[MAXPATHLEN] = '\0';
|
|
||||||
if (stat(filename, &hbuf) == 0)
|
|
||||||
return;
|
|
||||||
if (*np == '\0')
|
|
||||||
path = "";
|
|
||||||
path = np + 1;
|
|
||||||
}
|
|
||||||
if (strlen(name) > BUFSZ/2)
|
|
||||||
name = name + strlen(name) - BUFSZ/2;
|
|
||||||
error("Cannot get status of %s.", (np = rindex(name, '/')) ? np+1 : name);
|
|
||||||
# endif /* WANT_GETHDATE */
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
int
|
int
|
||||||
uptodate(fd)
|
uptodate(fd)
|
||||||
|
|||||||
+13
-9
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#ifdef GETRES_SUPPORT
|
#ifdef GETRES_SUPPORT
|
||||||
|
|
||||||
#if defined(LINUX)
|
# if defined(LINUX)
|
||||||
|
|
||||||
static _syscall3(int, getresuid, unsigned short *, ruid, \
|
static _syscall3(int, getresuid, unsigned short *, ruid, \
|
||||||
unsigned short *, euid, unsigned short *, suid)
|
unsigned short *, euid, unsigned short *, suid)
|
||||||
@@ -55,9 +55,10 @@ gid_t *rgid, *egid, *sgid;
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(BSD) || defined(SVR4)
|
# else
|
||||||
|
# if defined(BSD) || defined(SVR4)
|
||||||
|
|
||||||
#ifdef SYS_getresuid
|
# ifdef SYS_getresuid
|
||||||
|
|
||||||
static int
|
static int
|
||||||
real_getresuid(ruid, euid, suid)
|
real_getresuid(ruid, euid, suid)
|
||||||
@@ -66,7 +67,7 @@ uid_t *ruid, *euid, *suid;
|
|||||||
return syscall(SYS_getresuid, ruid, euid, suid);
|
return syscall(SYS_getresuid, ruid, euid, suid);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* SYS_getresuid */
|
# else /* SYS_getresuid */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
real_getresuid(ruid, euid, suid)
|
real_getresuid(ruid, euid, suid)
|
||||||
@@ -88,9 +89,9 @@ uid_t *ruid, *euid, *suid;
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SYS_getresuid */
|
# endif /* SYS_getresuid */
|
||||||
|
|
||||||
#ifdef SYS_getresgid
|
# ifdef SYS_getresgid
|
||||||
|
|
||||||
static int
|
static int
|
||||||
real_getresgid(rgid, egid, sgid)
|
real_getresgid(rgid, egid, sgid)
|
||||||
@@ -99,7 +100,7 @@ gid_t *rgid, *egid, *sgid;
|
|||||||
return syscall(SYS_getresgid, rgid, egid, sgid);
|
return syscall(SYS_getresgid, rgid, egid, sgid);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* SYS_getresgid */
|
# else /* SYS_getresgid */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
real_getresgid(rgid, egid, sgid)
|
real_getresgid(rgid, egid, sgid)
|
||||||
@@ -121,8 +122,9 @@ gid_t *rgid, *egid, *sgid;
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SYS_getresgid */
|
# endif /* SYS_getresgid */
|
||||||
#endif /* LINUX || BSD || SVR4 */
|
# endif /* BSD || SVR4 */
|
||||||
|
# endif /* LINUX */
|
||||||
|
|
||||||
static unsigned int hiding_privileges = 0;
|
static unsigned int hiding_privileges = 0;
|
||||||
|
|
||||||
@@ -199,11 +201,13 @@ nh_getegid()
|
|||||||
|
|
||||||
#else /* GETRES_SUPPORT */
|
#else /* GETRES_SUPPORT */
|
||||||
|
|
||||||
|
# ifdef GNOME_GRAPHICS
|
||||||
int
|
int
|
||||||
hide_privileges(flag)
|
hide_privileges(flag)
|
||||||
boolean flag;
|
boolean flag;
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif /* GETRES_SUPPORT */
|
#endif /* GETRES_SUPPORT */
|
||||||
|
|||||||
Reference in New Issue
Block a user