Skip to content

Commit

Permalink
[working] warning cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
burntfalafel committed Sep 25, 2021
1 parent 7c0a47e commit 7093225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 1 addition & 6 deletions include/skud.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ void shell_print_loop(char* cmdline, request_struct *rq_tmp)

/* Exec Task */
if ((cmdline[0] == 'e' || cmdline[0] == 'E')) {
pid_t inp_pid;
rq_tmp->executable = cmdline+2;
rq_tmp->c = RQ_EXEC_TASK;
return;
Expand Down Expand Up @@ -549,14 +548,10 @@ int main(int argc, char *argv[])

shell_print_loop(cmdline, rq_tmp);
shell_request_loop(rq_tmp);
rq_tmp->c = NULL;
rq_tmp->c = -1;

}
free(rq_tmp);

while (pause())
;

return 0;

}
3 changes: 0 additions & 3 deletions include/skud.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ static void new_process(process_t **processlist, char *processname, pid_t pid, e

static process_t *remove_process (process_t *head, pid_t pid);


static process_t *next_curr_process();

static void print_processes (process_t *processlist);

static int prioritize_process(pid_t pid, enum priority new_priority);
Expand Down

0 comments on commit 7093225

Please sign in to comment.