Commit 9227ee8c authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

fix prototype. (C isn't C++.)

2000-05-01  Morten Welinder  <terra@diku.dk>

	* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
 	gnumeric_sys_glade_dir): fix prototype.  (C isn't C++.)

	* src/complete.c (complete_destroy): Static.

	* src/regression.c: Inlcude <string.h> for memset.
parent 761d1ee7
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
2000-05-01 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_plugin_dir, gnumeric_sys_plugin_dir,
gnumeric_sys_glade_dir): fix prototype. (C isn't C++.)
* src/complete.c (complete_destroy): Static.
* src/regression.c: Inlcude <string.h> for memset.
2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl> 2000-05-01 Almer. S. Tigelaar. <almer1@dds.nl>
* configure.in: * configure.in:
......
...@@ -39,7 +39,7 @@ complete_construct (Complete *complete, ...@@ -39,7 +39,7 @@ complete_construct (Complete *complete,
complete->notify_closure = notify_closure; complete->notify_closure = notify_closure;
} }
void static void
complete_destroy (GtkObject *object) complete_destroy (GtkObject *object)
{ {
Complete *complete = COMPLETE (object); Complete *complete = COMPLETE (object);
......
...@@ -113,8 +113,8 @@ gnumeric_sys_lib_dir (const char *subdir) ...@@ -113,8 +113,8 @@ gnumeric_sys_lib_dir (const char *subdir)
#define GLADE_SUFFIX "glade" #define GLADE_SUFFIX "glade"
#define PLUGIN_SUFFIX "plugins" #define PLUGIN_SUFFIX "plugins"
char * gnumeric_sys_glade_dir () { return gnumeric_sys_data_dir (GLADE_SUFFIX); } char * gnumeric_sys_glade_dir (void) { return gnumeric_sys_data_dir (GLADE_SUFFIX); }
char * gnumeric_sys_plugin_dir () { return gnumeric_sys_lib_dir (PLUGIN_SUFFIX); } char * gnumeric_sys_plugin_dir (void) { return gnumeric_sys_lib_dir (PLUGIN_SUFFIX); }
char * char *
gnumeric_usr_dir (const char *subdir) gnumeric_usr_dir (const char *subdir)
...@@ -126,4 +126,4 @@ gnumeric_usr_dir (const char *subdir) ...@@ -126,4 +126,4 @@ gnumeric_usr_dir (const char *subdir)
return NULL; return NULL;
} }
char * gnumeric_usr_plugin_dir () { return gnumeric_usr_dir (PLUGIN_SUFFIX); } char * gnumeric_usr_plugin_dir (void) { return gnumeric_usr_dir (PLUGIN_SUFFIX); }
...@@ -16,10 +16,10 @@ gint gnumeric_strcase_equal (gconstpointer v, gconstpointer v2); ...@@ -16,10 +16,10 @@ gint gnumeric_strcase_equal (gconstpointer v, gconstpointer v2);
*/ */
char * gnumeric_sys_lib_dir (const char *subdir); char * gnumeric_sys_lib_dir (const char *subdir);
char * gnumeric_sys_data_dir (const char *subdir); char * gnumeric_sys_data_dir (const char *subdir);
char * gnumeric_sys_glade_dir (); char * gnumeric_sys_glade_dir (void);
char * gnumeric_sys_plugin_dir (); char * gnumeric_sys_plugin_dir (void);
char * gnumeric_usr_dir (const char *subdir); char * gnumeric_usr_dir (const char *subdir);
char * gnumeric_usr_plugin_dir (); char * gnumeric_usr_plugin_dir (void);
#endif /* GNUMERIC_UTILS_H */ #endif /* GNUMERIC_UTILS_H */
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <config.h> #include <config.h>
#include <glib.h> #include <glib.h>
#include <math.h> #include <math.h>
#include <string.h>
#include "regression.h" #include "regression.h"
#define ALLOC_MATRIX(var,dim1,dim2) \ #define ALLOC_MATRIX(var,dim1,dim2) \
......
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