From 105859c42f16590e67aa344dd33ee0f301046ff8 Mon Sep 17 00:00:00 2001 From: Ben Gilsrud Date: Sun, 29 Oct 2023 23:25:07 -0500 Subject: [PATCH] Fix meadecam static symbols (#853) --- libmeadecam/meadecam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmeadecam/meadecam.c b/libmeadecam/meadecam.c index 7b1b7f475..4744946a5 100644 --- a/libmeadecam/meadecam.c +++ b/libmeadecam/meadecam.c @@ -11,10 +11,10 @@ #define LIBTOUPCAM_NAME "libtoupcam.so" #endif -void *libtoupcam; +static void *libtoupcam; /* Create a function pointer for a given toupcam function. */ -#define C_PTR(RET, DEC, PARAM, ARG) TOUPCAM_API(RET) (*Meade_ ## DEC) PARAM; +#define C_PTR(RET, DEC, PARAM, ARG) static TOUPCAM_API(RET) (*Meade_ ## DEC) PARAM; /* Define a function that calls the corresponding toupcam function */ #define C_DEF(RET, DEC, PARAM, ARG) TOUPCAM_API(RET) DEC PARAM \