Skip to content

Commit

Permalink
Declare instead of define variable in header file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Etrnls committed May 10, 2020
1 parent d4d2823 commit a02705a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pam/pam.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <security/pam_appl.h>

// Conversation that will call back into Go code when appropriate.
const struct pam_conv *goConv;
extern const struct pam_conv *goConv;

// CleaupFuncs are used to cleanup specific PAM data.
typedef void (*CleanupFunc)(pam_handle_t *pamh, void *data, int error_status);
Expand Down

0 comments on commit a02705a

Please sign in to comment.