Remove unnecessary header files
This commit is contained in:
parent
1506c1e49a
commit
0d7604cb96
18 changed files with 1 additions and 91 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
10
lcallisto.c
10
lcallisto.c
|
@ -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
1
lcl.c
|
@ -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
9
lcl.h
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LCL_H_
|
|
||||||
|
|
||||||
#define _LCL_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_cl(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LENVIRONMENT_H_
|
|
||||||
|
|
||||||
#define _LENVIRONMENT_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_environment(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
1
lfile.c
1
lfile.c
|
@ -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"
|
||||||
|
|
||||||
|
|
9
lfile.h
9
lfile.h
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LFILE_H_
|
|
||||||
|
|
||||||
#define _LFILE_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_file(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
1
ljson.c
1
ljson.c
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
9
ljson.h
9
ljson.h
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LJSON_H_
|
|
||||||
|
|
||||||
#define _LJSON_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_json(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
1
lmath.c
1
lmath.c
|
@ -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"
|
||||||
|
|
||||||
|
|
9
lmath.h
9
lmath.h
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LMATH_H_
|
|
||||||
|
|
||||||
#define _LMATH_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_math(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
1
los.c
1
los.c
|
@ -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
9
los.h
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LOS_H_
|
|
||||||
|
|
||||||
#define _LOS_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_os(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LPROCESS_H_
|
|
||||||
|
|
||||||
#define _LPROCESS_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_process(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#ifndef _LSOCKET_H_
|
|
||||||
|
|
||||||
#define _LSOCKET_H_
|
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
int callistoopen_socket(lua_State *);
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Add table
Add a link
Reference in a new issue