aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-10-02 13:49:39 +0000
committerChristopher Faylor <me@cgf.cx>2009-10-02 13:49:39 +0000
commita37e07482c0a1ebb4be22d9d22c2bc6106e11a47 (patch)
tree86c987c6cc038e7715bc2a215e1eb32067a41e8a
parent45162575d2202dbadc4695113202d20c480bed70 (diff)
downloadnewlib-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.c2
-rw-r--r--winsup/utils/mkpasswd.c2
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};