summaryrefslogtreecommitdiff
path: root/src/core
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:04:58 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-17 20:04:58 +0000
commita0b268dab3ed358bb24f78389a6d7e21f0809102 (patch)
tree0726d210ff6ef498076b88ea9c5927820d57fefb /src/core
parent296c1d8a5a948d5ae6756d7b55b16c64f56cf4c3 (diff)
using svn commit to try and avoid indent bug thing
git-svn-id: svn://svn.anope.org/anope/trunk@800 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@557 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Makefile5
-rw-r--r--src/core/Makefile.sub5
-rw-r--r--src/core/hs_group.c3
-rw-r--r--src/core/hs_setall.c2
-rw-r--r--src/core/ms_read.c2
-rw-r--r--src/core/ms_rsend.c1
-rw-r--r--src/core/ms_send.c1
-rw-r--r--src/core/ms_sendall.c1
-rw-r--r--src/core/ms_staff.c1
9 files changed, 15 insertions, 6 deletions
diff --git a/src/core/Makefile b/src/core/Makefile
index e73fd7e7c..602d43bec 100644
--- a/src/core/Makefile
+++ b/src/core/Makefile
@@ -5,12 +5,11 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'RUNGROUP=${RUNGROUP}' 'MODULE_PATH=${MODULE_PATH}' \
- 'PROFILE=${PROFILE}' 'SHARED=${SHARED}'
+ 'PROFILE=${PROFILE}' 'SHARED=${SHARED}' 'MODULEFLAGS=${MODULEFLAGS}'
OBJECTS= $(SRCS:.c=.o)
SO_FILES=$(OBJECTS:.o=.s)
CDEFS= -g -rdynamic -Wall
-CFLAGS=$(CFLAGS) $(CDEFS)
all: modules subs
@@ -22,7 +21,7 @@ install:
distclean: clean spotless
.c.o:
- $(CC) $(CFLAGS) -I../${INCLUDEDIR} -c $<
+ $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $<
.o.s:
$(CC) ${SHARED} $< -o $*.so ${PROFILE}
diff --git a/src/core/Makefile.sub b/src/core/Makefile.sub
index b060ca5b6..7c4744ce8 100644
--- a/src/core/Makefile.sub
+++ b/src/core/Makefile.sub
@@ -3,12 +3,11 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'RUNGROUP=${RUNGROUP}' 'MODULE_PATH=${MODULE_PATH}' \
- 'PROFILE=${PROFILE}' 'SHARED=${SHARED}'
+ 'PROFILE=${PROFILE}' 'SHARED=${SHARED}' 'MODULEFLAGS=${MODULEFLAGS}'
OBJECTS= $(SRCS:.c=.o)
SO_FILES=$(OBJECTS:.o=.s)
CDEFS= -g -rdynamic -Wall
-CFLAGS=$(CFLAGS) $(CDEFS)
all: module
@@ -17,7 +16,7 @@ module: $(OBJECTS) so
distclean: clean spotless
.c.o:
- $(CC) $(CFLAGS) -I../ -I../../${INCLUDEDIR} -c $<
+ $(CC) $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $<
so:
$(CC) ${SHARED} $(OBJECTS) -o ../$(TARGET).so ${PROFILE}
diff --git a/src/core/hs_group.c b/src/core/hs_group.c
index db034a948..9f5ef0a3e 100644
--- a/src/core/hs_group.c
+++ b/src/core/hs_group.c
@@ -17,6 +17,9 @@
int do_group(User * u);
void myHostServHelp(User * u);
+extern int do_hs_sync(NickCore * nc, char *vIdent, char *hostmask,
+ char *creator, time_t time);
+
/**
* Create the off command, and tell anope about it.
diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c
index a0685a89f..3d0a5a83c 100644
--- a/src/core/hs_setall.c
+++ b/src/core/hs_setall.c
@@ -17,6 +17,8 @@
int do_setall(User * u);
void myHostServHelp(User * u);
+extern int do_hs_sync(NickCore * nc, char *vIdent, char *hostmask,
+ char *creator, time_t time);
/**
* Create the off command, and tell anope about it.
diff --git a/src/core/ms_read.c b/src/core/ms_read.c
index 4c650f5e1..d608d0a37 100644
--- a/src/core/ms_read.c
+++ b/src/core/ms_read.c
@@ -19,6 +19,8 @@ int do_read(User * u);
int read_memo_callback(User * u, int num, va_list args);
int read_memo(User * u, int index, MemoInfo * mi, const char *chan);
void myMemoServHelp(User * u);
+extern void rsend_notify(User * u, Memo * m, const char *chan);
+
/**
* Create the command, and tell anope about it.
diff --git a/src/core/ms_rsend.c b/src/core/ms_rsend.c
index b712f4af1..0b0c7b995 100644
--- a/src/core/ms_rsend.c
+++ b/src/core/ms_rsend.c
@@ -17,6 +17,7 @@
int do_rsend(User * u);
void myMemoServHelp(User * u);
+extern void memo_send(User * u, char *name, char *text, int z);
/**
* Create the command, and tell anope about it.
diff --git a/src/core/ms_send.c b/src/core/ms_send.c
index c366072a4..bbca927f9 100644
--- a/src/core/ms_send.c
+++ b/src/core/ms_send.c
@@ -17,6 +17,7 @@
int do_send(User * u);
void myMemoServHelp(User * u);
+extern void memo_send(User * u, char *name, char *text, int z);
/**
* Create the command, and tell anope about it.
diff --git a/src/core/ms_sendall.c b/src/core/ms_sendall.c
index 36eae983f..589d9871b 100644
--- a/src/core/ms_sendall.c
+++ b/src/core/ms_sendall.c
@@ -17,6 +17,7 @@
int do_sendall(User * u);
void myMemoServHelp(User * u);
+extern void memo_send(User * u, char *name, char *text, int z);
/**
* Create the command, and tell anope about it.
diff --git a/src/core/ms_staff.c b/src/core/ms_staff.c
index 091a23ce5..534aeeb24 100644
--- a/src/core/ms_staff.c
+++ b/src/core/ms_staff.c
@@ -17,6 +17,7 @@
int do_staff(User * u);
void myMemoServHelp(User * u);
+extern void memo_send(User * u, char *name, char *text, int z);
/**
* Create the command, and tell anope about it.