Skip to content

Commit

Permalink
Fix meadecam static symbols (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilsrud authored Oct 30, 2023
1 parent 53a5ded commit 105859c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmeadecam/meadecam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 105859c

Please sign in to comment.