aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-04-12 09:04:42 +0200
committerJan Beulich <jbeulich@suse.com>2022-04-12 09:04:42 +0200
commit66b39b8b9c886e6adc17ba6b81ebf5b1febabb53 (patch)
treee710021578fa05fe97645758fb4eb10ad3d1802b /gas/as.h
parentc39e89c3aaa3a6790f85e80f2da5022bc4bce38b (diff)
downloadgdb-66b39b8b9c886e6adc17ba6b81ebf5b1febabb53.zip
gdb-66b39b8b9c886e6adc17ba6b81ebf5b1febabb53.tar.gz
gdb-66b39b8b9c886e6adc17ba6b81ebf5b1febabb53.tar.bz2
gas: new_logical_line{,_flags}() can return "void"
With the sole user of the return value gone, convert the return type to void. This in turn allows simplifying another construct, by moving it slightly later in the function.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/as.h b/gas/as.h
index ff5b9a4..135abc8 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -473,8 +473,8 @@ void do_scrub_begin (int);
void input_scrub_begin (void);
void input_scrub_close (void);
void input_scrub_end (void);
-int new_logical_line (const char *, int);
-int new_logical_line_flags (const char *, int, int);
+void new_logical_line (const char *, int);
+void new_logical_line_flags (const char *, int, int);
void subsegs_begin (void);
void subseg_change (segT, int);
segT subseg_new (const char *, subsegT);