summaryrefslogtreecommitdiff
path: root/cad/ng-spice/patches/patch-ak
blob: e8c07513530e2ecdf8193209bc14ebebc8b0f9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ak,v 1.2 2010/02/28 18:00:19 dmcmahill Exp $

--- src/frontend/aspice.c.orig	2008-05-31 08:38:56.000000000 +0000
+++ src/frontend/aspice.c
@@ -177,15 +177,11 @@ sigchild(void)
  * whether the exit was normal or not.
  */
 
-#if defined(__NetBSD__)
-    pid_t status;
-#elif defined(__FreeBSD__) || defined(__APPLE__) || defined(SOLARIS)
-    int status;    
-#else
-    union wait status;
-#endif
-
-
+/*
+ * On posix systems, wait() is:
+ * pid_t wait(int *status);
+ */
+int status;    
 
 void
 ft_checkkids(void)