The build-time checking for __secure_getenv was dropped earlier, yet I
forgot to remove the actual users :facepalm:
Fixes: 9dc54a3 ("build: stop checking for __secure_getenv")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/139
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
#define KCMD_LINE_SIZE 4096
#ifndef HAVE_SECURE_GETENV
-# ifdef HAVE___SECURE_GETENV
-# define secure_getenv __secure_getenv
-# else
-# warning neither secure_getenv nor __secure_getenv is available
-# define secure_getenv getenv
-# endif
+#warning secure_getenv is not available
+#define secure_getenv getenv
#endif
_printf_format_(6, 7) _nonnull_(1, 3, 5) void kmod_log(const struct kmod_ctx *ctx,