]> git.ipfire.org Git - collecty.git/commitdiff
_collecty: Fix compiling the module with the new flags
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Sep 2025 10:37:22 +0000 (10:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Sep 2025 10:44:19 +0000 (10:44 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/_collecty/_collectymodule.h

index fbcaf51c93d6c8b960374316c43a32c9e7bd790c..01c9ea6d8aaca98fd7ceeec3acdd8a81a77d0dec 100644 (file)
@@ -25,6 +25,8 @@
 #include <sensors/error.h>
 #include <sensors/sensors.h>
 
+PyMODINIT_FUNC PyInit__collecty(void);
+
 #define MODEL_SIZE  40
 #define SERIAL_SIZE 20