diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-05-05 02:39:16 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-05-05 02:39:16 +0200 |
commit | 619b97ff2b9e29c79dedd9aff425c7a11764c300 (patch) | |
tree | 0440449feab24a17772dc2bb9fad4265bba766bc /udev/udevadm-monitor.c | |
parent | e3196993f1f7fdd9fb7fbf4eeb397080554ae920 (diff) |
remove asmlinkage
Diffstat (limited to 'udev/udevadm-monitor.c')
-rw-r--r-- | udev/udevadm-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c index 27520f7061..3f4cb5772d 100644 --- a/udev/udevadm-monitor.c +++ b/udev/udevadm-monitor.c @@ -35,7 +35,7 @@ static int udev_exit; -static void asmlinkage sig_handler(int signum) +static void sig_handler(int signum) { if (signum == SIGINT || signum == SIGTERM) udev_exit = 1; @@ -135,7 +135,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) /* set signal handlers */ memset(&act, 0x00, sizeof(struct sigaction)); - act.sa_handler = (void (*)(int)) sig_handler; + act.sa_handler = sig_handler; sigemptyset(&act.sa_mask); act.sa_flags = SA_RESTART; sigaction(SIGINT, &act, NULL); |