summaryrefslogtreecommitdiff
path: root/usrbin/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usrbin/main.c')
-rw-r--r--usrbin/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usrbin/main.c b/usrbin/main.c
index 2e409fd..2afcf0e 100644
--- a/usrbin/main.c
+++ b/usrbin/main.c
@@ -1,21 +1,15 @@
-#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
-void sig_handler(int s) {
- printf("Handled the signal!\n");
-}
-
void main(void) {
int x = 0;
- /* signal(0, &sig_handler); */
printf("We did it ma!\n");
while(1) {
- /* sleep(1); */
+ sleep(1);
printf("0x%04x:0x%08x: 0x%08x, 0x%08x\n", getpid(), (uint32_t) getpdir(), time(), x++);
}
}