]> sourceware.org Git - newlib-cygwin.git/commitdiff
* mkpasswd.c: Properly define __progname as __declspec(dllimport).
authorChristopher Faylor <me@cgf.cx>
Fri, 2 Oct 2009 13:49:39 +0000 (13:49 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 2 Oct 2009 13:49:39 +0000 (13:49 +0000)
* mkgroup.c: Ditto.

winsup/utils/mkgroup.c
winsup/utils/mkpasswd.c

index fe55651e22db2c1c863e4a6b47fca965f6df767a..19b679ee115f85c1fe4e5a1417ef2cf8f91a9739 100644 (file)
@@ -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};
index f7c910ba1fb58f7b5560f1f730a3e9cf5043bcec..36c462267374b1984ffc6c1a641755c77e48ac81 100644 (file)
@@ -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};
This page took 0.032132 seconds and 5 git commands to generate.