diff options
author | Christopher Faylor <me@cgf.cx> | 2009-10-02 13:49:39 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-10-02 13:49:39 +0000 |
commit | a37e07482c0a1ebb4be22d9d22c2bc6106e11a47 (patch) | |
tree | 86c987c6cc038e7715bc2a215e1eb32067a41e8a /winsup | |
parent | 45162575d2202dbadc4695113202d20c480bed70 (diff) | |
download | cygnal-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.tar.gz cygnal-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.tar.bz2 cygnal-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.zip |
* mkpasswd.c: Properly define __progname as __declspec(dllimport).
* mkgroup.c: Ditto.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/mkgroup.c | 2 | ||||
-rw-r--r-- | winsup/utils/mkpasswd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c index fe55651e2..19b679ee1 100644 --- a/winsup/utils/mkgroup.c +++ b/winsup/utils/mkgroup.c @@ -35,7 +35,7 @@ static const char version[] = "$Revision$"; -extern char *__progname; +extern char *__progname __declspec(dllimport); SID_IDENTIFIER_AUTHORITY sid_world_auth = {SECURITY_WORLD_SID_AUTHORITY}; SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY}; diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index f7c910ba1..36c462267 100644 --- a/winsup/utils/mkpasswd.c +++ b/winsup/utils/mkpasswd.c @@ -35,7 +35,7 @@ static const char version[] = "$Revision$"; -extern char *__progname; +extern char *__progname __declspec(dllimport); SID_IDENTIFIER_AUTHORITY sid_world_auth = {SECURITY_WORLD_SID_AUTHORITY}; SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY}; |