aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjako <jjako>2004-12-30 16:22:42 +0000
committerjjako <jjako>2004-12-30 16:22:42 +0000
commitbd937b7290f212e85c3f3d94e9f443db63e4af8d (patch)
tree12ab46ff978ae3cd11227a4e835044a4c3f36390
parent163b455be869f6aef36f2fedf6913e1a38d64ad5 (diff)
Minor fix
-rw-r--r--ggsn/ggsn.c2
-rw-r--r--ggsn/syserr.c1
-rw-r--r--ggsn/syserr.h2
-rw-r--r--sgsnemu/syserr.c1
-rw-r--r--sgsnemu/syserr.h2
5 files changed, 3 insertions, 5 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 5d60b90..08acab7 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -88,7 +88,7 @@ void log_pid(char *pidfile) {
fclose(file);
}
-#if defined(_sun__)
+#if defined(__sun__)
int daemon(int nochdir, int noclose) {
int fd;
diff --git a/ggsn/syserr.c b/ggsn/syserr.c
index 8418956..e0ebc3a 100644
--- a/ggsn/syserr.c
+++ b/ggsn/syserr.c
@@ -10,7 +10,6 @@
*/
#include <stdarg.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
diff --git a/ggsn/syserr.h b/ggsn/syserr.h
index 5a41817..a1ccb2d 100644
--- a/ggsn/syserr.h
+++ b/ggsn/syserr.h
@@ -1,6 +1,6 @@
/*
* Syslog functions.
- * Copyright (C) 2003 Mondru AB.
+ * Copyright (C) 2003, 2004 Mondru AB.
*
* The contents of this file may be used under the terms of the GNU
* General Public License Version 2, provided that the above copyright
diff --git a/sgsnemu/syserr.c b/sgsnemu/syserr.c
index 8418956..e0ebc3a 100644
--- a/sgsnemu/syserr.c
+++ b/sgsnemu/syserr.c
@@ -10,7 +10,6 @@
*/
#include <stdarg.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
diff --git a/sgsnemu/syserr.h b/sgsnemu/syserr.h
index 5a41817..a1ccb2d 100644
--- a/sgsnemu/syserr.h
+++ b/sgsnemu/syserr.h
@@ -1,6 +1,6 @@
/*
* Syslog functions.
- * Copyright (C) 2003 Mondru AB.
+ * Copyright (C) 2003, 2004 Mondru AB.
*
* The contents of this file may be used under the terms of the GNU
* General Public License Version 2, provided that the above copyright