Commit e39900be authored by Morten Welinder's avatar Morten Welinder

Better fix for static/extern problem.

parent f75dac98
2004-12-22 Morten Welinder <terra@gnome.org> 2004-12-22 Morten Welinder <terra@gnome.org>
* src/main-application.c (gnumeric_popt_options): not static as * src/libgnumeric.h (gnumeric_popt_options): remove from here.
libgnumeric.h declares it.
2004-12-20 Morten Welinder <terra@gnome.org> 2004-12-20 Morten Welinder <terra@gnome.org>
......
2004-12-22 Morten Welinder <terra@gnome.org> 2004-12-22 Morten Welinder <terra@gnome.org>
* src/main-application.c (gnumeric_popt_options): not static as * src/libgnumeric.h (gnumeric_popt_options): remove from here.
libgnumeric.h declares it.
2004-12-20 Morten Welinder <terra@gnome.org> 2004-12-20 Morten Welinder <terra@gnome.org>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <popt.h> #include <popt.h>
extern struct poptOption const gnumeric_popt_options [];
extern int gnumeric_debugging; extern int gnumeric_debugging;
extern int dependency_debugging; extern int dependency_debugging;
extern int expression_sharing_debugging; extern int expression_sharing_debugging;
......
...@@ -54,7 +54,7 @@ int gnumeric_no_splash = FALSE; ...@@ -54,7 +54,7 @@ int gnumeric_no_splash = FALSE;
as const expressions in the initializer without this decl on win32 */ as const expressions in the initializer without this decl on win32 */
extern struct poptOption poptHelpOptions[]; extern struct poptOption poptHelpOptions[];
struct poptOption const static struct poptOption const
gnumeric_popt_options[] = { gnumeric_popt_options[] = {
{ "version", 'v', POPT_ARG_NONE, &gnumeric_show_version, 0, { "version", 'v', POPT_ARG_NONE, &gnumeric_show_version, 0,
N_("Display Gnumeric's version"), NULL }, N_("Display Gnumeric's version"), NULL },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment