diff options
-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 } |