Skip to content

Commit

Permalink
SWORD25: Remove explictit #includes
Browse files Browse the repository at this point in the history
Makes Coverity happier.
  • Loading branch information
sev- committed Sep 27, 2013
1 parent e11da51 commit 8053989
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 30 deletions.
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lcode.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <stdlib.h>

#define lcode_c
#define LUA_CORE

Expand Down
5 changes: 0 additions & 5 deletions engines/sword25/util/lua/ldebug.cpp
Expand Up @@ -5,11 +5,6 @@
*/


#include <stdarg.h>
#include <stddef.h>
#include <string.h>


#define ldebug_c
#define LUA_CORE

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lfunc.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <stddef.h>

#define lfunc_c
#define LUA_CORE

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lgc.cpp
Expand Up @@ -4,8 +4,6 @@
** See Copyright Notice in lua.h
*/

#include <string.h>

#define lgc_c
#define LUA_CORE

Expand Down
3 changes: 0 additions & 3 deletions engines/sword25/util/lua/llimits.h
Expand Up @@ -8,9 +8,6 @@
#define llimits_h


#include <limits.h>
#include <stddef.h>


#include "lua.h"

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lmem.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <stddef.h>

#define lmem_c
#define LUA_CORE

Expand Down
1 change: 1 addition & 0 deletions engines/sword25/util/lua/lopcodes.cpp
Expand Up @@ -8,6 +8,7 @@
#define LUA_CORE


#include "lua.h"
#include "lopcodes.h"


Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lparser.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <string.h>

#define lparser_c
#define LUA_CORE

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lstate.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <stddef.h>

#define lstate_c
#define LUA_CORE

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/lstring.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <string.h>

#define lstring_c
#define LUA_CORE

Expand Down
6 changes: 0 additions & 6 deletions engines/sword25/util/lua/lstrlib.cpp
Expand Up @@ -7,12 +7,6 @@

#define FORBIDDEN_SYMBOL_EXCEPTION_ctype_h

#include <ctype.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define lstrlib_c
#define LUA_LIB

Expand Down
2 changes: 0 additions & 2 deletions engines/sword25/util/lua/ltablib.cpp
Expand Up @@ -5,8 +5,6 @@
*/


#include <stddef.h>

#define ltablib_c
#define LUA_LIB

Expand Down

0 comments on commit 8053989

Please sign in to comment.