diff options
author | Ahmed El-Mahmoudy <aelmahmoudy@users.sourceforge.net> | 2020-05-19 13:38:36 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-05-19 13:38:36 +0300 |
commit | 135b0d9c1445b4be3909abcbde942ae2c7ea3855 (patch) | |
tree | 2baabf2be581d971b2710cd6f439557e636c27ba | |
parent | 33f71eb118c81e788cd64049d70c8f79e969f2ac (diff) | |
download | dico-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.h | 2 | ||||
-rw-r--r-- | include/dico/markup.h | 2 |
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 |