Added extern declaration for sql_getpwuid_query.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
3 | #ifdef HAVE_MYSQL | 3 | #ifdef HAVE_MYSQL |
4 | extern char *sql_getpwnam_query; | 4 | extern char *sql_getpwnam_query; |
5 | extern char *sql_getpass_query; | 5 | extern char *sql_getpass_query; |
6 | extern char *sql_getpwuid_query; | ||
6 | extern char *sql_host; | 7 | extern char *sql_host; |
7 | extern char *sql_user; | 8 | extern char *sql_user; |
8 | extern char *sql_passwd; | 9 | extern char *sql_passwd; |
... | @@ -11,6 +12,7 @@ extern char *sql_socket; | ... | @@ -11,6 +12,7 @@ extern char *sql_socket; |
11 | extern int sql_port; | 12 | extern int sql_port; |
12 | 13 | ||
13 | struct passwd *getMpwnam (const char *username); | 14 | struct passwd *getMpwnam (const char *username); |
15 | struct passwd *getMpwuid (uid_t uid); | ||
14 | struct spwd *getMspnam (const char *username); | 16 | struct spwd *getMspnam (const char *username); |
15 | 17 | ||
16 | #define MHOST NULL /* Hostname to connect to. NULL for UNIX | 18 | #define MHOST NULL /* Hostname to connect to. NULL for UNIX | ... | ... |
-
Please register or sign in to post a comment