From bdc22c3d1d742ac20837d0c037483f66c094d8f6 Mon Sep 17 00:00:00 2001 From: Aditi Mishra Date: Wed, 19 Feb 2025 12:10:27 -0500 Subject: [PATCH] fix in nvram's function(s) defination Signed-off-by: Aditi Mishra --- src/nvram.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nvram.c b/src/nvram.c index 1987c3d..c2925d0 100644 --- a/src/nvram.c +++ b/src/nvram.c @@ -903,9 +903,9 @@ dump_rtas_event_entry(char *data, int len) { void *rtas_event; void *handle; - void *(*parse_rtas_event)(); - void (*rtas_print_event)(); - void (*cleanup_rtas_event)(); + void *(*parse_rtas_event)(char*, int); + void (*rtas_print_event)(FILE *, struct rtas_event *, int); + void (*cleanup_rtas_event)(struct rtas_event *); handle = dlopen("/usr/lib/librtasevent.so", RTLD_LAZY); if (handle == NULL)