This commit is contained in:
albert
2002-11-25 21:36:43 +00:00
parent 19e565177b
commit f40af35b77
2 changed files with 23 additions and 23 deletions

View File

@@ -75,7 +75,7 @@ static void display_kill_version(){
}
/***** kill or nice a process */
static void hurt_proc(int tty, int uid, int pid, char *cmd){
static void hurt_proc(int tty, int uid, int pid, const char *restrict const cmd){
int failed;
int saved_errno;
char dn_buf[1000];
@@ -245,8 +245,8 @@ static void kill_usage(void){
}
/***** kill */
static void kill_main(int argc, char *argv[]){
char *sigptr;
static void kill_main(int argc, const char *restrict argv[]){
const char *sigptr;
int signo = SIGTERM;
int exitvalue = 0;
if(argc<2) kill_usage();