commit c76cd32949849fcc51fe56bc3d2d56892e263f7c
parent 54694d97b87baf7639d805f438d717055e828a7b
Author: Eduardo Fontana Lazzari <edufonlaz@gmail.com>
Date: Wed, 4 Dec 2024 10:54:58 +0100
Fixed the sphin_create_args struct declaration
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/sphin.h b/src/sphin.h
@@ -52,6 +52,7 @@ static const struct sphin_create_args SPHIN_CREATE_ARGS_DEFAULT = {
NULL, NULL, 0
};
+/* Forward declaration */
struct sphin;
BEGIN_DECLS
@@ -61,7 +62,7 @@ BEGIN_DECLS
******************************************************************************/
SPHIN_API res_T
sphin_create
- (struct sphin_create_args* args,
+ (const struct sphin_create_args* args,
struct sphin** sphin);
SPHIN_API res_T