From 3da593e8de13861b637c50dc9c291a229bac6b2f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 17 Mar 2023 10:05:05 +0100 Subject: 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. --- gas/macro.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gas/macro.h') 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); -- cgit v1.1