From: Mitsutoshi NAKANO Date: 2013-08-09 09:51:15 +0900 Subject: input: prototype declarations for bugs about error messages . References: http://lists.opensuse.org/opensuse-ja/2013-08/msg00014.html Upstream: sent Bugfix: In openSUSE 13.1 Milestone 3, uum could not get error messages . This issue's cause is that we forgot prototype declaration of msg_get() in Wnn/include/msg.h . Then I added "FreeWnn-prototypes_msg.patch" as %Patch15 . http://lists.opensuse.org/opensuse-ja/2013-08/msg00014.html http://sourceforge.jp/projects/freewnn/lists/archive/users/2013-August/000140.html --- diff -r -u Wnn/include/msg.h /home/mitsutoshi/src/Wnn/include/msg.h --- Wnn/include/msg.h 2013-08-09 08:34:01.169023491 +0900 +++ /home/mitsutoshi/src/Wnn/include/msg.h 2013-08-09 08:25:29.353137583 +0900 @@ -64,8 +64,14 @@ */ #define DEF_LANG "ja" -extern struct msg_cat *msg_open (); -extern char *msg_get (); -extern void msg_close (); +#if __STDC__ +#define FRWNN_PARAMS(paramlist) paramlist +#else +#define FRWNN_PARAMS(paramlist) () +#endif + +extern struct msg_cat *msg_open FRWNN_PARAMS((char *, char *, char *)); +extern char *msg_get FRWNN_PARAMS((struct msg_cat *, int id, char *, register char *lang)); +extern void msg_close FRWNN_PARAMS((register struct msg_cat *)); #endif /* WNN_MSG_H */