changes to get this to build with the -pedanic flag.

(when you pass --enable-pedantic to the compiler)
This commit is contained in:
sspitzer%netscape.com 1999-05-04 17:21:33 +00:00
parent a5a29fec8a
commit 108be1837b
2 changed files with 10 additions and 4 deletions

View File

@ -222,8 +222,11 @@ input_callback(IDL_input_reason reason, union IDL_input_data *cb_data,
* file, we only look for it in the first entry in the include
* path, which we assume to be the current directory.
*/
IncludePathEntry first_entry = { stack->include_path->directory,
NULL };
IncludePathEntry first_entry;
first_entry.directory = stack->include_path->directory;
first_entry.next = NULL;
new_data = new_input_callback_data(cb_data->init.filename,
&first_entry);
} else {

View File

@ -222,8 +222,11 @@ input_callback(IDL_input_reason reason, union IDL_input_data *cb_data,
* file, we only look for it in the first entry in the include
* path, which we assume to be the current directory.
*/
IncludePathEntry first_entry = { stack->include_path->directory,
NULL };
IncludePathEntry first_entry;
first_entry.directory = stack->include_path->directory;
first_entry.next = NULL;
new_data = new_input_callback_data(cb_data->init.filename,
&first_entry);
} else {