From: Uwe Hermann Date: Sun, 30 Jan 2011 18:22:13 +0000 (+0100) Subject: Consistently use _exit prefix for functions. X-Git-Tag: libsigrokdecode-0.1.0~293 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7ea73e33f50211a1b3df6556f6fcfcbab6c36735;p=libsigrokdecode.git Consistently use _exit prefix for functions. --- diff --git a/decode.c b/decode.c index e8828d7..a6366b1 100644 --- a/decode.c +++ b/decode.c @@ -390,7 +390,7 @@ static int srd_unload_all_decoders(void) * * @return SRD_OK upon success, a (negative) error code otherwise. */ -int srd_shutdown(void) +int srd_exit(void) { /* Unload/free all decoders, and then the list of decoders itself. */ /* TODO: Error handling. */ diff --git a/sigrokdecode.h b/sigrokdecode.h index 99594f1..c0de99f 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -71,7 +71,7 @@ GSList *srd_list_decoders(void); struct srd_decoder *srd_get_decoder_by_id(const char *id); int srd_run_decoder(struct srd_decoder *dec, uint8_t *inbuf, uint64_t inbuflen, uint8_t **outbuf, uint64_t *outbuflen); -int srd_shutdown(void); +int srd_exit(void); #ifdef __cplusplus }