diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2011-01-30 19:22:13 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-01-30 19:26:32 +0100 |
commit | 7ea73e33f50211a1b3df6556f6fcfcbab6c36735 (patch) | |
tree | 5ac9f0130492c1510cb9f5b5f1798d3118b9bb70 | |
parent | d752b12b7d6f5795e82aa43b395247a82be54670 (diff) | |
download | libsigrokdecode-7ea73e33f50211a1b3df6556f6fcfcbab6c36735.tar.gz libsigrokdecode-7ea73e33f50211a1b3df6556f6fcfcbab6c36735.zip |
Consistently use _exit prefix for functions.
-rw-r--r-- | decode.c | 2 | ||||
-rw-r--r-- | sigrokdecode.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 } |