Shorten long lines in linux-aarch64-low.c
[deliverable/binutils-gdb.git] / gdb / nto-procfs.c
index 2d1c49a061c94e7fc16e332568af017eb99d32f6..20b05be217a4497cd15e728c7c69af0ffe745bfc 100644 (file)
@@ -47,7 +47,7 @@
 
 int ctl_fd;
 
-static void (*ofunc) ();
+static sighandler_t ofunc;
 
 static procfs_run run;
 
@@ -735,7 +735,7 @@ procfs_wait (struct target_ops *ops,
   devctl (ctl_fd, DCMD_PROC_STATUS, &status, sizeof (status), 0);
   while (!(status.flags & _DEBUG_FLAG_ISTOP))
     {
-      ofunc = (void (*)()) signal (SIGINT, nto_handle_sigint);
+      ofunc = signal (SIGINT, nto_handle_sigint);
       sigwaitinfo (&set, &info);
       signal (SIGINT, ofunc);
       devctl (ctl_fd, DCMD_PROC_STATUS, &status, sizeof (status), 0);
This page took 0.024138 seconds and 4 git commands to generate.