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 | |
parent | 45162575d2202dbadc4695113202d20c480bed70 (diff) | |
download | newlib-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.zip newlib-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.tar.gz newlib-a37e07482c0a1ebb4be22d9d22c2bc6106e11a47.tar.bz2 |
* mkpasswd.c: Properly define __progname as __declspec(dllimport).
* mkgroup.c: Ditto.
-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 fe55651..19b679e 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 f7c910b..36c4622 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}; |