Skip to content

Commit

Permalink
Fix meadecam static symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilsrud authored Oct 30, 2023
1 parent 53a5ded commit f35a8b2
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 f35a8b2

Please sign in to comment.