blob: 4755635349ec31c7a33fb1ef084a7a8c8b14e9e0 (
plain) (
blame)
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
26
27
28
29
|
--- src/daemonprocess.C.orig Mon Apr 15 06:21:24 2002
+++ src/daemonprocess.C Sun Feb 29 01:53:19 2004
@@ -5,7 +5,7 @@
#include <iostream.h>
#include <fstream.h>
-#include <strstream.h>
+#include <strstream>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
@@ -22,11 +22,13 @@
#include <rudiments/daemonprocess.h>
#ifdef __GNUC__
-static signalhandler *daemonprocess::termhandler;
-static signalhandler *daemonprocess::inthandler;
-static void (*daemonprocess::shutdownfunc)(int);
-static signalhandler *daemonprocess::deadchildhandler;
+signalhandler *daemonprocess::termhandler;
+signalhandler *daemonprocess::inthandler;
+void (*daemonprocess::shutdownfunc)(int);
+signalhandler *daemonprocess::deadchildhandler;
#endif
+
+using namespace std;
daemonprocess::daemonprocess() {
|