mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
eLua - modules - remove redundant includes
This commit is contained in:
parent
8c4f6d1549
commit
1e49dad7be
@ -7,7 +7,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
#include "auxmods.h"
|
||||
#include "type.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing Lua code with a Controller Area Network (CAN)
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with CPU
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Interface with core services
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with the I2C interface
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "auxmods.h"
|
||||
|
@ -23,7 +23,7 @@ void *alloca(size_t);
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with network functions (elua_net.h)
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with platform data
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with PIO
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with PWM
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with Lua SPI code
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Module for interfacing with terminal functions
|
||||
|
||||
#include "lua.h"
|
||||
//#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Module for interfacing with timers
|
||||
|
||||
#include "lua.h"
|
||||
#include "lualib.h"
|
||||
//#include "lua.h"
|
||||
//#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
#include "auxmods.h"
|
||||
//#include "auxmods.h"
|
||||
#include "platform_conf.h"
|
||||
#include "common.h"
|
||||
#include "lrotable.h"
|
||||
|
@ -1,13 +1,13 @@
|
||||
// Module for interfacing with UART
|
||||
|
||||
#include "lua.h"
|
||||
#include "lualib.h"
|
||||
//#include "lua.h"
|
||||
//#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
#include "auxmods.h"
|
||||
#//include "auxmods.h"
|
||||
#include "lrotable.h"
|
||||
#include "common.h"
|
||||
#include "sermux.h"
|
||||
//#include "sermux.h"
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user