Remove unnecessary header files

This commit is contained in:
Jeremy Baxter 2023-06-27 18:19:03 +12:00
parent 1506c1e49a
commit 0d7604cb96
18 changed files with 1 additions and 91 deletions

View file

@ -18,7 +18,7 @@ libcallisto.so: ${OBJS} ${LIBS}
${CC} -shared ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} ${CC} -shared ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
csto.o: csto.c lcallisto.h csto.o: csto.c lcallisto.h
${CC} ${CFLAGS} ${CPPFLAGS} -c csto.c ${CC} ${CFLAGS} ${CPPFLAGS} -c csto.c
lcallisto.o: lcallisto.c lenvironment.h lfile.h los.h lprocess.h lcallisto.o: lcallisto.c lcallisto.h
${CC} ${CFLAGS} ${CPPFLAGS} -c lcallisto.c ${CC} ${CFLAGS} ${CPPFLAGS} -c lcallisto.c
lcl.o: lcl.c lcallisto.h lcl.o: lcl.c lcallisto.h
${CC} ${CFLAGS} ${CPPFLAGS} -c lcl.c ${CC} ${CFLAGS} ${CPPFLAGS} -c lcl.c

View file

@ -8,16 +8,6 @@
#include "lcallisto.h" #include "lcallisto.h"
/* Callisto libraries */
#include "lcl.h"
#include "lenvironment.h"
#include "lfile.h"
#include "ljson.h"
#include "lmath.h"
#include "los.h"
#include "lprocess.h"
#include "lsocket.h"
static const luaL_Reg loadedlibs[] = { static const luaL_Reg loadedlibs[] = {
{CALLISTO_CLLIBNAME, callistoopen_cl}, {CALLISTO_CLLIBNAME, callistoopen_cl},

1
lcl.c
View file

@ -16,7 +16,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lcl.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

9
lcl.h
View file

@ -1,9 +0,0 @@
#ifndef _LCL_H_
#define _LCL_H_
#include <lua.h>
int callistoopen_cl(lua_State *);
#endif

View file

@ -13,7 +13,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lenvironment.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

View file

@ -1,9 +0,0 @@
#ifndef _LENVIRONMENT_H_
#define _LENVIRONMENT_H_
#include <lua.h>
int callistoopen_environment(lua_State *);
#endif

View file

@ -16,7 +16,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lfile.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

View file

@ -1,9 +0,0 @@
#ifndef _LFILE_H_
#define _LFILE_H_
#include <lua.h>
int callistoopen_file(lua_State *);
#endif

View file

@ -12,7 +12,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "ljson.h"
#include "lcallisto.h" #include "lcallisto.h"

View file

@ -1,9 +0,0 @@
#ifndef _LJSON_H_
#define _LJSON_H_
#include <lua.h>
int callistoopen_json(lua_State *);
#endif

View file

@ -6,7 +6,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lmath.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

View file

@ -1,9 +0,0 @@
#ifndef _LMATH_H_
#define _LMATH_H_
#include <lua.h>
int callistoopen_math(lua_State *);
#endif

1
los.c
View file

@ -17,7 +17,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "los.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

9
los.h
View file

@ -1,9 +0,0 @@
#ifndef _LOS_H_
#define _LOS_H_
#include <lua.h>
int callistoopen_os(lua_State *);
#endif

View file

@ -16,7 +16,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lprocess.h"
#include "lcallisto.h" #include "lcallisto.h"
#include "util.h" #include "util.h"

View file

@ -1,9 +0,0 @@
#ifndef _LPROCESS_H_
#define _LPROCESS_H_
#include <lua.h>
int callistoopen_process(lua_State *);
#endif

View file

@ -11,7 +11,6 @@
#include <lua.h> #include <lua.h>
#include <lauxlib.h> #include <lauxlib.h>
#include "lsocket.h"
#include "lcallisto.h" #include "lcallisto.h"

View file

@ -1,9 +0,0 @@
#ifndef _LSOCKET_H_
#define _LSOCKET_H_
#include <lua.h>
int callistoopen_socket(lua_State *);
#endif