Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'falc'

Conflicts:
	wakeup.c
  • Loading branch information...
commit 03fd3e4cef352decdcb5daa7b617a73cad168bc1 2 parents f0594be + e544508
fogobogo authored
Showing with 0 additions and 17 deletions.
  1. +0 −17 wakeup.c
View
17 wakeup.c
@@ -97,8 +97,6 @@ do_suspend(const char *command)
return 1;
}
- fprintf(stdout, "tick.\n");
-
return 0;
}
@@ -275,25 +273,10 @@ create_alarm(struct timespec_t *ts)
return 0;
}
-
-static void
-signal_function(union sigval sival)
-{
- fprintf(stdout, "tock.\n");
- /* houston, we are having a problem */
- /*
- system((char *)sival.sival_ptr);
- */
- exit(0);
-}
-
-
int
main(int argc, char *argv[])
{
struct timespec_t ts;
- struct sigevent sigev;
- union sigval sival;
if(argc <= 1) {
fprintf(stderr, "error: no timespec specified (use -h for help)\n");
Please sign in to comment.
Something went wrong with that request. Please try again.