X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decode.c;h=9f8c03408113ed45216b206f853431340dd76b04;hp=e8828d7e01da40f2c9b7477035a7e2619679ef98;hb=959933226cb93b87d3c07c01c8af63840200671e;hpb=d752b12b7d6f5795e82aa43b395247a82be54670 diff --git a/decode.c b/decode.c index e8828d7..9f8c034 100644 --- a/decode.c +++ b/decode.c @@ -18,11 +18,11 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include #include #include -#include /* Re-define some string functions for Python >= 3.0. */ #if PY_VERSION_HEX >= 0x03000000 @@ -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. */