* po-lex.c (mb_iseq, mb_setascii): Likewise.
* po-hash-gen.y: alloca fix for AIX 3.
* write-mo.c: Likewise.
- * x-lisp.c (syntax_code_of, read_char_syntax, attribute_of): Move
- prototypes, to avoid compilation errors on AIX 3.
+ * x-lisp.c (syntax_code_of, read_char_syntax, attribute_of, is_number):
+ Move prototypes, to avoid compilation errors on AIX 3.
+ (syntax_code_of, attribute_of): Fix prototype. unsigned char promotes
+ to int.
* x-java.l (TOKEN_TYPE): Remove trailing comma in enum.
(PARSER_STATE): Likewise.
* msgfilter.c: Include <sys/select.h> on AIX.
static inline bool has_a_digit PARAMS ((const struct token *tp));
static inline bool has_adjacent_letters PARAMS ((const struct token *tp));
static bool is_potential_number PARAMS ((const struct token *tp, int *basep));
-static enum number_type is_number PARAMS ((const struct token *tp, int *basep));
static void upcase_token PARAMS ((struct token *tp));
static void downcase_token PARAMS ((struct token *tp));
static void case_convert_token PARAMS ((struct token *tp));
/* Prototypes for local functions. Needed to ensure compiler checking of
function argument counts despite of K&R C function definition syntax. */
-static enum syntax_code syntax_code_of PARAMS ((unsigned char c));
+static enum syntax_code
+ syntax_code_of PARAMS ((/*promote: unsigned char*/ int c));
static void read_char_syntax PARAMS ((struct char_syntax *p));
/* Returns the syntax code of a character. */
/* Prototypes for local functions. Needed to ensure compiler checking of
function argument counts despite of K&R C function definition syntax. */
-static enum attribute attribute_of PARAMS ((unsigned char c));
+static enum attribute attribute_of PARAMS ((/*promote: unsigned char*/ int c));
/* Returns the attribute of a character, assuming base 10. */
static enum attribute
n_float
};
+static enum number_type is_number PARAMS ((const struct token *tp, int *basep));
+
static enum number_type
is_number (tp, basep)
const struct token *tp;