diff --git a/main.c b/main.c index 9b98d35..ed86af9 100644 --- a/main.c +++ b/main.c @@ -11,7 +11,7 @@ int main() { char cmdline[MAXLINE]; main_proc_pid = getpid(); - signal(SIGINT, sigint_handler); + //signal(SIGINT, sigint_handler); while(1) { diff --git a/mytop.c b/mytop.c index b38bfae..3dcf91a 100644 --- a/mytop.c +++ b/mytop.c @@ -1,4 +1,4 @@ -/* + #include #include #include @@ -335,6 +335,3 @@ void mytop() print_procs(prev_proc,proc,1); return; } -*/ -void mytop() -{} \ No newline at end of file