add parameter list (or void) to all C functions

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-11 22:17:40 +00:00
commit 61001d958f
13 changed files with 19 additions and 19 deletions

View file

@ -73,7 +73,7 @@ void Swig_push_directory(const String_or_char *dirname) {
* the preprocessor.
* ----------------------------------------------------------------------------- */
void Swig_pop_directory() {
void Swig_pop_directory(void) {
if (!Swig_get_push_dir())
return;
if (!pdirectories)
@ -87,7 +87,7 @@ void Swig_pop_directory() {
* Returns the full pathname of the last file opened.
* ----------------------------------------------------------------------------- */
String *Swig_last_file() {
String *Swig_last_file(void) {
assert(lastpath);
return lastpath;
}