From: Andre Noll Date: Sun, 18 May 2025 19:40:31 +0000 (+0200) Subject: play.c: Kill pointless typedef. X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=107e9cc8082b7a8a97647bdc05b5810722c94b34;p=paraslash.git play.c: Kill pointless typedef. The signature of the function pointer is too simple to warrant a typedef. --- diff --git a/play.c b/play.c index ca9ce34f..df06b1cc 100644 --- a/play.c +++ b/play.c @@ -95,9 +95,8 @@ struct play_task { char *afhi_txt; }; -typedef int (*play_cmd_handler_t)(struct lls_parse_result *lpr); struct play_command_info { - play_cmd_handler_t handler; + int (*handler)(struct lls_parse_result *lpr); }; static int loglevel = LL_WARNING;