diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-03-17 10:05:05 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-03-17 10:05:05 +0100 |
commit | 3da593e8de13861b637c50dc9c291a229bac6b2f (patch) | |
tree | 98ee6f3ca4e3f99f4d488a6be96ef25617da3a88 /gas/macro.h | |
parent | 14317f7f05d0290586f456d02176dd77a81aee69 (diff) | |
download | binutils-3da593e8de13861b637c50dc9c291a229bac6b2f.zip binutils-3da593e8de13861b637c50dc9c291a229bac6b2f.tar.gz binutils-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.h | 3 |
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); |