X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fmsg.h;h=84054520e6902bb4827ee71c5a2cd12d15feeb1f;hb=ebd302f4820855188df16ee8422a947751bf2c50;hp=14d4c1283076b742d90495cd683690f658c74c39;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/mware/msg.h b/bertos/mware/msg.h index 14d4c128..84054520 100644 --- a/bertos/mware/msg.h +++ b/bertos/mware/msg.h @@ -34,19 +34,10 @@ * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo */ -/*#* - *#* $Log$ - *#* Revision 1.2 2006/02/10 11:30:37 bernie - *#* C++ fixes. - *#* - *#* Revision 1.1 2005/03/01 23:31:02 bernie - *#* String table and localization stuff. - *#* - *#*/ #ifndef MWARE_MSG_H #define MWARE_MSG_H @@ -59,17 +50,19 @@ enum MSG_COUNT }; +#warning FIXME:Revise me! #define MSG_BUFSIZE 6144 /* FIXME: how much? */ /* String tables */ -extern const char *msg_strings const [MSG_COUNT]; +/* extern const char *msg_strings const [MSG_COUNT]; */ /* extern char msg_buf[MSG_BUFSIZE]; */ /* Macros to access translated messages */ -#define MSG(x) msg_strings[x] +#define MSG(x) msg_strings[x] #define PTRMSG(x) ((x) < (const_iptr_t)256 ? msg_strings[(unsigned int)(x)] : (const char *)(x)) #endif /* MWARE_MSG_H */ +