mirror of https://gerrit.osmocom.org/libosmocore
panic: Fix type warning - osmo_panic_handler_t is already a pointer ...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
2a471ee25d
commit
c91d17b3d5
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue