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:
Sylvain Munaut 2010-11-13 18:00:25 +01:00
parent 2a471ee25d
commit c91d17b3d5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}