summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-17 20:27:12 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-17 20:27:12 +0000
commita41f38c2e4c899c57643a9521dfdc2abfd608711 (patch)
treeb8ba4b92100b1905fe4dc97ceca8b6f65e19d4d6 /src
parenta0b268dab3ed358bb24f78389a6d7e21f0809102 (diff)
avoiding indent breakage
git-svn-id: svn://svn.anope.org/anope/trunk@802 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@558 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/protocol/plexus.c2
-rw-r--r--src/protocol/ptlink.c1
-rw-r--r--src/tools/db-merger.c21
-rw-r--r--src/tools/epona2anope.c21
-rw-r--r--src/tools/smtp.h12
5 files changed, 55 insertions, 2 deletions
diff --git a/src/protocol/plexus.c b/src/protocol/plexus.c
index c85b38eb3..d1e5b000c 100644
--- a/src/protocol/plexus.c
+++ b/src/protocol/plexus.c
@@ -1,5 +1,4 @@
/* PlexusIRCD IRCD functions
- *
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
@@ -1814,3 +1813,4 @@ AnopeInit (int argc, char **argv)
return MOD_CONT;
}
+
diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c
index 9a272db1f..bbd2506eb 100644
--- a/src/protocol/ptlink.c
+++ b/src/protocol/ptlink.c
@@ -587,7 +587,6 @@ void moduleAddIRCDMsgs(void) {
/* *INDENT-ON* */
-
int anope_event_svsinfo(char *source, int ac, char **av)
{
return MOD_CONT;
diff --git a/src/tools/db-merger.c b/src/tools/db-merger.c
index 89ee72ea5..9116e9ac0 100644
--- a/src/tools/db-merger.c
+++ b/src/tools/db-merger.c
@@ -35,6 +35,27 @@
#include "sysconf.h"
#endif
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * sys/types.h
+ **/
+#undef u_int8_t
+#undef u_int16_t
+#undef u_int32_t
+#undef u_int_64_t
+#define u_int8_t uint8_t
+#define u_int16_t uint16_t
+#define u_int32_t uint32_t
+#define u_int64_t uint64_t
+
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
/* CONFIGURATION BLOCK */
#define NICK_DB_1 "nick1.db"
diff --git a/src/tools/epona2anope.c b/src/tools/epona2anope.c
index e88cae106..a48f2f785 100644
--- a/src/tools/epona2anope.c
+++ b/src/tools/epona2anope.c
@@ -35,6 +35,27 @@
#include "sysconf.h"
#endif
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * * sys/types.h
+ * **/
+#undef u_int8_t
+#undef u_int16_t
+#undef u_int32_t
+#undef u_int_64_t
+#define u_int8_t uint8_t
+#define u_int16_t uint16_t
+#define u_int32_t uint32_t
+#define u_int64_t uint64_t
+
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
/* CONFIGURATION BLOCK */
#define CHAN_DB_EPONA "chan1.db"
diff --git a/src/tools/smtp.h b/src/tools/smtp.h
index 7ffda89e8..b04fa98d8 100644
--- a/src/tools/smtp.h
+++ b/src/tools/smtp.h
@@ -67,6 +67,18 @@ extern int connect(int, struct sockaddr *, int);
# endif
#endif /* _AIX */
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * * sys/types.h
+ * **/
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
#ifdef _WIN32
#define PATH_MAX MAX_PATH
#define snprintf _snprintf