aboutsummaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-09-10 16:01:07 +0000
committerIan Lance Taylor <ian@airs.com>1993-09-10 16:01:07 +0000
commit58d4951d00478086d83aa397f03944f9a5233270 (patch)
tree6c79a9a7f3dab39dba5d1390d0508ff6b6ccdf1b /gas/read.h
parent941ffd19606475d07bf1713d05ff191b87f18883 (diff)
downloadgdb-58d4951d00478086d83aa397f03944f9a5233270.zip
gdb-58d4951d00478086d83aa397f03944f9a5233270.tar.gz
gdb-58d4951d00478086d83aa397f03944f9a5233270.tar.bz2
gcc lint. See ChangeLog for details. Also:
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
Diffstat (limited to 'gas/read.h')
-rw-r--r--gas/read.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/read.h b/gas/read.h
index 604ee4c..1e1c3f2 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -36,8 +36,10 @@ extern char *input_line_pointer;/* -> char we are parsing now. */
#define LEX_NAME (1) /* may continue a name */
#define LEX_BEGIN_NAME (2) /* may begin a name */
-#define is_name_beginner(c) ( lex_type[c] & LEX_BEGIN_NAME )
-#define is_part_of_name(c) ( lex_type[c] & LEX_NAME )
+#define is_name_beginner(c) \
+ ( lex_type[(unsigned char) (c)] & LEX_BEGIN_NAME )
+#define is_part_of_name(c) \
+ ( lex_type[(unsigned char) (c)] & LEX_NAME )
#ifndef is_a_char
#define CHAR_MASK (0xff)
@@ -55,7 +57,8 @@ extern const char line_separator_chars[];
char *demand_copy_C_string PARAMS ((int *len_pointer));
char get_absolute_expression_and_terminator PARAMS ((long *val_pointer));
-long get_absolute_expression PARAMS ((void));
+offsetT get_absolute_expression PARAMS ((void));
+unsigned int next_char_of_string PARAMS ((void));
void add_include_dir PARAMS ((char *path));
void big_cons PARAMS ((int nbytes));
void cons PARAMS ((unsigned int nbytes));