Moved non static function declarations from source files into header files

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-12-28 21:48:39 +00:00
commit c00aaf0f5b
14 changed files with 57 additions and 108 deletions

View file

@ -17,6 +17,7 @@
char cvsroot_cpp_c[] = "$Header$";
#include "swig.h"
#include "preprocessor.h"
#include <ctype.h>
@ -112,7 +113,6 @@ List *Preprocessor_depend(void) {
* void Preprocessor_cpp_init() - Initialize the preprocessor
* ----------------------------------------------------------------------------- */
void Preprocessor_init() {
extern void Preprocessor_expr_init(void);
Hash *s;
cpp = NewHash();
s = NewHash();

View file

@ -12,6 +12,7 @@
char cvsroot_expr_c[] = "$Header$";
#include "swig.h"
#include "preprocessor.h"
static SwigScanner *scan = 0;

View file

@ -11,10 +11,9 @@
* $Header$
* ----------------------------------------------------------------------------- */
#ifndef _PREPROCESSOR_H
#define _PREPROCESSOR_H
#ifndef PREPROCESSOR_H_
#define PREPROCESSOR_H_
#include "swig.h"
#include "swigwarn.h"
#ifdef __cplusplus
@ -30,6 +29,7 @@ extern void Preprocessor_include_all(int);
extern void Preprocessor_import_all(int);
extern void Preprocessor_ignore_missing(int);
extern List *Preprocessor_depend(void);
extern void Preprocessor_expr_init(void);
#ifdef __cplusplus
}