Browse Source

catch is a signal arg, and should be void catch()

ceriel 31 years ago
parent
commit
13dc306413
2 changed files with 2 additions and 1 deletions
  1. 1 0
      util/arch/archiver.c
  2. 1 1
      util/ego/em_ego/em_ego.c

+ 1 - 0
util/arch/archiver.c

@@ -171,6 +171,7 @@ register int mode;
   return fd;
 }
 
+void
 catch()
 {
 	unlink(temp_arch);

+ 1 - 1
util/ego/em_ego/em_ego.c

@@ -135,7 +135,7 @@ add_uphase(p)
   uphases[nuphases++] = p;
 }
 
-static int
+static void
 catch()
 {
   /*	Catch interrupts and exit gracefully */