c99 warnings again

This commit is contained in:
albert
2002-11-27 08:36:03 +00:00
parent ade43a692b
commit 80b73a78e4
3 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ static int f_flag, i_flag, v_flag, w_flag, n_flag;
static int tty_count, uid_count, cmd_count, pid_count;
static int *ttys;
static uid_t *uids;
static char **cmds;
static const char **cmds;
static int *pids;
#define ENLIST(thing,addme) do{ \
@@ -535,8 +535,8 @@ selection_collection:
}
/***** main body */
int main(int argc, char *argv[]){
char *tmpstr;
int main(int argc, const char *argv[]){
const char *tmpstr;
my_pid = getpid();
saved_argc = argc;
if(!argc){