diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-11-13 18:00:25 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-11-13 18:00:25 +0100 |
commit | c91d17b3d5e11e5e5c08a60abb8a1d14e49480a2 (patch) | |
tree | 6c2ce67b1a267dad11c1fa30e6bbd6119a608bc2 | |
parent | 2a471ee25d34529fc6449a870de244f3a271100c (diff) |
panic: Fix type warning - osmo_panic_handler_t is already a pointer ...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | include/osmocore/panic.h | 2 | ||||
-rw-r--r-- | src/panic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocore/panic.h b/include/osmocore/panic.h index cee95358..c5a83778 100644 --- a/include/osmocore/panic.h +++ b/include/osmocore/panic.h @@ -6,6 +6,6 @@ typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args); void osmo_panic(const char *fmt, ...); -void osmo_set_panic_handler(osmo_panic_handler_t *h); +void osmo_set_panic_handler(osmo_panic_handler_t h); #endif diff --git a/src/panic.c b/src/panic.c index a25067de..0c0a9204 100644 --- a/src/panic.c +++ b/src/panic.c @@ -64,7 +64,7 @@ void osmo_panic(const char *fmt, ...) } -void osmo_set_panic_handler(osmo_panic_handler_t *h) +void osmo_set_panic_handler(osmo_panic_handler_t h) { osmo_panic_handler = h; } |