From 2624069671e884e152c9fa9009459f3b12873060 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Fri, 31 Mar 2023 16:59:08 +0100 Subject: [PATCH] Fix warning for -Wmissing-prototypes --- Source/astcenccli_internal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/astcenccli_internal.h b/Source/astcenccli_internal.h index 1c5f0ed5f..8a98aae7c 100644 --- a/Source/astcenccli_internal.h +++ b/Source/astcenccli_internal.h @@ -395,4 +395,16 @@ void launch_threads( void (*func)(int, int, void*), void *payload); +/** + * @brief The main entry point. + * + * @param argc The number of arguments. + * @param argv The vector of arguments. + * + * @return 0 on success, non-zero otherwise. + */ +int astcenc_main( + int argc, + char **argv); + #endif