use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations which have been removed.

This commit is contained in:
2013-03-11 20:27:38 +00:00
parent 8560b141eb
commit 660be3da39
20 changed files with 42 additions and 36 deletions

View File

@@ -931,11 +931,7 @@ static void bpy_module_free(void *UNUSED(mod))
/* EVIL, define text.c functions here... */
extern int text_check_identifier_unicode(const unsigned int ch);
extern int text_check_identifier_nodigit_unicode(const unsigned int ch);
extern int text_check_identifier(const char ch);
extern int text_check_identifier_nodigit(const char ch);
/* BKE_text.h */
int text_check_identifier_unicode(const unsigned int ch)
{
return (ch < 255 && text_check_identifier((char)ch)) || Py_UNICODE_ISALNUM(ch);