aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-17 10:05:05 +0100
committerJan Beulich <jbeulich@suse.com>2023-03-17 10:05:05 +0100
commit3da593e8de13861b637c50dc9c291a229bac6b2f (patch)
tree98ee6f3ca4e3f99f4d488a6be96ef25617da3a88 /gas/macro.h
parent14317f7f05d0290586f456d02176dd77a81aee69 (diff)
downloadgdb-3da593e8de13861b637c50dc9c291a229bac6b2f.zip
gdb-3da593e8de13861b637c50dc9c291a229bac6b2f.tar.gz
gdb-3da593e8de13861b637c50dc9c291a229bac6b2f.tar.bz2
gas: drop function pointer parameter from macro_init()
With the removal of gasp (about 20 years ago) the need for this kind- of-hook has disappeared. Go a step beyond merely moving the to be called function: Inline its contents right at the sole call site.
Diffstat (limited to 'gas/macro.h')
-rw-r--r--gas/macro.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/macro.h b/gas/macro.h
index 2ec0ec4..e879b080 100644
--- a/gas/macro.h
+++ b/gas/macro.h
@@ -83,8 +83,7 @@ extern htab_t macro_hash;
extern int buffer_and_nest (const char *, const char *, sb *,
size_t (*) (sb *));
-extern void macro_init (int, int, int,
- size_t (*) (const char *, size_t, sb *, offsetT *));
+extern void macro_init (int, int, int);
extern void macro_end (void);
extern void macro_set_alternate (int);
extern void macro_mri_mode (int);