Skip to content

Commit

Permalink
Cleanup python.mod includes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann authored Jul 20, 2024
1 parent 73b198a commit c942772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/mod/python.mod/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ distclean: clean
../../../src/compat/explicit_bzero.h ../../../src/compat/strlcpy.h \
../../../src/mod/modvals.h ../../../src/tandem.h \
../../../src/mod/irc.mod/irc.h ../../../src/mod/server.mod/server.h \
../../../src/mod/python.mod/python.h \
../../../src/mod/python.mod/pycmds.c \
../../../src/mod/python.mod/tclpython.c
.././python.mod/python.h .././python.mod/pycmds.c \
.././python.mod/tclpython.c
6 changes: 3 additions & 3 deletions src/mod/python.mod/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
#include <datetime.h>
#include "src/mod/irc.mod/irc.h"
#include "src/mod/server.mod/server.h"
#include "src/mod/python.mod/python.h"
#include "python.h"

//static PyObject *pymodobj;
static PyObject *pirp, *pglobals;

#undef global
static Function *global = NULL, *irc_funcs = NULL;
static PyThreadState *_pythreadsave;
#include "src/mod/python.mod/pycmds.c"
#include "src/mod/python.mod/tclpython.c"
#include "pycmds.c"
#include "tclpython.c"

EXPORT_SCOPE char *python_start(Function *global_funcs);

Expand Down

0 comments on commit c942772

Please sign in to comment.