Header file tidyup

Fix Visual C++ warning in scilab.cxx:
  warning C4996: 'strtok': This function or variable may be unsafe.
This commit is contained in:
William S Fulton 2022-05-07 09:36:26 +01:00
commit 6939d91e4c
9 changed files with 6 additions and 11 deletions

View file

@ -12,8 +12,8 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <limits.h> // for INT_MAX
#include "cparse.h"
#include <limits.h> // for INT_MAX
#include <ctype.h>
/* Hash type used for upcalls from C/C++ */

View file

@ -12,7 +12,6 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <ctype.h>
// Note string broken in half for compilers that can't handle long strings

View file

@ -12,8 +12,8 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <limits.h> // for INT_MAX
#include "cparse.h"
#include <limits.h> // for INT_MAX
#include <ctype.h>
#include "javadoc.h"

View file

@ -12,7 +12,6 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <ctype.h>
static const char *usage = "\

View file

@ -12,7 +12,6 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <ctype.h>
static const char *usage = "\

View file

@ -13,7 +13,6 @@
*/
#include "swigmod.h"
#include <ctype.h>
#include <errno.h>

View file

@ -12,13 +12,12 @@
* ----------------------------------------------------------------------------- */
#include "swigmod.h"
#include <limits.h>
#include "cparse.h"
#include <limits.h>
#include <ctype.h>
#include <errno.h>
#include "pydoc.h"
#include <stdint.h>
#include "pydoc.h"
#define PYSHADOW_MEMBER 0x2
#define WARN_PYTHON_MULTIPLE_INH 405

View file

@ -11,9 +11,9 @@
* Scilab language module for SWIG.
* --------------------------------------------------------------------------*/
#include "swigmod.h"
#include <cstddef>
#include <cstdlib>
#include "swigmod.h"
static const int SCILAB_IDENTIFIER_NAME_CHAR_MAX = 24;

View file

@ -11,7 +11,7 @@
* Various utility functions.
* ----------------------------------------------------------------------------- */
#include <swigmod.h>
#include "swigmod.h"
int is_public(Node *n) {
String *access = Getattr(n, "access");