aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed El-Mahmoudy <aelmahmoudy@users.sourceforge.net>2020-05-19 13:38:36 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-05-19 13:38:36 +0300
commit135b0d9c1445b4be3909abcbde942ae2c7ea3855 (patch)
tree2baabf2be581d971b2710cd6f439557e636c27ba
parent33f71eb118c81e788cd64049d70c8f79e969f2ac (diff)
downloaddico-135b0d9c1445b4be3909abcbde942ae2c7ea3855.tar.gz
dico-135b0d9c1445b4be3909abcbde942ae2c7ea3855.tar.bz2
Minor fix
* dicod/dicod.h: Add missing extern qualifiers. * include/dico/markup.h: Likewise.
-rw-r--r--dicod/dicod.h2
-rw-r--r--include/dico/markup.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/dicod/dicod.h b/dicod/dicod.h
index 13303d7..c857096 100644
--- a/dicod/dicod.h
+++ b/dicod/dicod.h
@@ -266,13 +266,13 @@ void register_xversion(void);
void register_lev(void);
/* regex.c */
void register_regex(void);
/* dbtext.c */
-struct dico_udb_def text_udb_def;
+extern struct dico_udb_def text_udb_def;
extern dico_udb_t user_db;
/* auth.c */
void register_auth(void);
void init_auth_data(void);
diff --git a/include/dico/markup.h b/include/dico/markup.h
index 17b0c82..b8f0317 100644
--- a/include/dico/markup.h
+++ b/include/dico/markup.h
@@ -17,11 +17,11 @@
#ifndef __dico_markup_h
#define __dico_markup_h
#include <dico/types.h>
extern const char *dico_markup_type;
-dico_list_t dico_markup_list;
+extern dico_list_t dico_markup_list;
const char *dico_markup_lookup(const char *name);
int dico_markup_register(const char *name);
#endif

Return to:

Send suggestions and report system problems to the System administrator.