From: Uwe Hermann Date: Sun, 30 Jan 2011 18:22:13 +0000 (+0100) Subject: Consistently use _exit prefix for functions. X-Git-Tag: libsigrok-0.1.0~362 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=01d9dc35ad8ba6817170ac9cca6c7e4fce989b78;p=libsigrok.git Consistently use _exit prefix for functions. --- diff --git a/backend.c b/backend.c index 46b7397f..eb23ad22 100644 --- a/backend.c +++ b/backend.c @@ -26,7 +26,7 @@ int sr_init(void) } /* TODO: Should return int to be able to report back error codes. */ -void sr_cleanup(void) +void sr_exit(void) { device_close_all(); } diff --git a/sigrok-proto.h b/sigrok-proto.h index 4c31bfe6..bba85b20 100644 --- a/sigrok-proto.h +++ b/sigrok-proto.h @@ -23,7 +23,7 @@ /*--- backend.c -------------------------------------------------------------*/ int sr_init(void); -void sr_cleanup(void); +void sr_exit(void); /*--- datastore.c -----------------------------------------------------------*/