tcc build fix: fixed c99 external constants

Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
This commit is contained in:
Sergei Trofimovich 2009-07-15 15:55:48 +03:00 committed by Slava Zanko
parent e2cb595273
commit 2e7808f63c
2 changed files with 8 additions and 8 deletions

View File

@ -33,10 +33,10 @@ typedef struct mc_search_cond_struct {
/*** global variables defined in .c file *********************************************************/ /*** global variables defined in .c file *********************************************************/
extern char STR_E_NOTFOUND[]; extern const char * STR_E_NOTFOUND;
extern char STR_E_UNKNOWN_TYPE[]; extern const char * STR_E_UNKNOWN_TYPE;
extern char STR_E_RPL_NOT_EQ_TO_FOUND[]; extern const char * STR_E_RPL_NOT_EQ_TO_FOUND;
extern char STR_E_RPL_INVALID_TOKEN[]; extern const char * STR_E_RPL_INVALID_TOKEN;
/*** declarations of public functions ************************************************************/ /*** declarations of public functions ************************************************************/

View File

@ -36,10 +36,10 @@
/*** global variables ****************************************************************************/ /*** global variables ****************************************************************************/
char STR_E_NOTFOUND[] = N_(" Search string not found "); const char * STR_E_NOTFOUND = N_(" Search string not found ");
char STR_E_UNKNOWN_TYPE[] = N_(" Not implemented yet "); const char * STR_E_UNKNOWN_TYPE = N_(" Not implemented yet ");
char STR_E_RPL_NOT_EQ_TO_FOUND[] = N_(" Num of replace tokens not equal to num of found tokens "); const char * STR_E_RPL_NOT_EQ_TO_FOUND = N_(" Num of replace tokens not equal to num of found tokens ");
char STR_E_RPL_INVALID_TOKEN[] = N_(" Invalid token number %d "); const char * STR_E_RPL_INVALID_TOKEN = N_(" Invalid token number %d ");
/*** file scope macro definitions ****************************************************************/ /*** file scope macro definitions ****************************************************************/