Skip to content

Commit 6939d91

Browse files
committed
Header file tidyup
Fix Visual C++ warning in scilab.cxx: warning C4996: 'strtok': This function or variable may be unsafe.
1 parent 69dba70 commit 6939d91

File tree

9 files changed

+6
-11
lines changed

9 files changed

+6
-11
lines changed

Source/Modules/csharp.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
#include <limits.h> // for INT_MAX
1615
#include "cparse.h"
16+
#include <limits.h> // for INT_MAX
1717
#include <ctype.h>
1818

1919
/* Hash type used for upcalls from C/C++ */

Source/Modules/guile.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
1615
#include <ctype.h>
1716

1817
// Note string broken in half for compilers that can't handle long strings

Source/Modules/java.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
#include <limits.h> // for INT_MAX
1615
#include "cparse.h"
16+
#include <limits.h> // for INT_MAX
1717
#include <ctype.h>
1818
#include "javadoc.h"
1919

Source/Modules/mzscheme.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
1615
#include <ctype.h>
1716

1817
static const char *usage = "\

Source/Modules/ocaml.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
1615
#include <ctype.h>
1716

1817
static const char *usage = "\

Source/Modules/php.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414

1515
#include "swigmod.h"
16-
1716
#include <ctype.h>
1817
#include <errno.h>
1918

Source/Modules/python.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212
* ----------------------------------------------------------------------------- */
1313

1414
#include "swigmod.h"
15-
#include <limits.h>
1615
#include "cparse.h"
16+
#include <limits.h>
1717
#include <ctype.h>
1818
#include <errno.h>
19-
#include "pydoc.h"
20-
2119
#include <stdint.h>
20+
#include "pydoc.h"
2221

2322
#define PYSHADOW_MEMBER 0x2
2423
#define WARN_PYTHON_MULTIPLE_INH 405

Source/Modules/scilab.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* Scilab language module for SWIG.
1212
* --------------------------------------------------------------------------*/
1313

14+
#include "swigmod.h"
1415
#include <cstddef>
1516
#include <cstdlib>
16-
#include "swigmod.h"
1717

1818
static const int SCILAB_IDENTIFIER_NAME_CHAR_MAX = 24;
1919

Source/Modules/utils.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Various utility functions.
1212
* ----------------------------------------------------------------------------- */
1313

14-
#include <swigmod.h>
14+
#include "swigmod.h"
1515

1616
int is_public(Node *n) {
1717
String *access = Getattr(n, "access");

0 commit comments

Comments
 (0)