summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sec_helper.cc
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2013-05-01 01:20:37 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2013-05-01 01:20:37 +0000
commit1f36328e7f31694b422c29881c17e957265d8344 (patch)
tree5fc3907f62575f45e7f49386359d9c17909a6f6a /winsup/cygwin/sec_helper.cc
parent92f63de3676413f9396fb17c55ca8f44f31f506b (diff)
downloadcygnal-1f36328e7f31694b422c29881c17e957265d8344.tar.gz
cygnal-1f36328e7f31694b422c29881c17e957265d8344.tar.bz2
cygnal-1f36328e7f31694b422c29881c17e957265d8344.zip
Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
warnings between regparm definitions and declarations. * smallprint.cc (__small_vswprintf): Conditionalize declaration and setting of l_opt for only x86_64. * spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable. * thread.cc (verifyable_object_isvalid): Temporarily define as non-inline with gcc 4.7+, regardless of target.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 619c0c166..2d81cbd38 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -522,7 +522,7 @@ sec_acl (PACL acl, bool original, bool admins, PSID sid1, PSID sid2, DWORD acces
return true;
}
-PSECURITY_ATTRIBUTES __stdcall
+PSECURITY_ATTRIBUTES __reg3
__sec_user (PVOID sa_buf, PSID sid1, PSID sid2, DWORD access2, BOOL inherit)
{
PSECURITY_ATTRIBUTES psa = (PSECURITY_ATTRIBUTES) sa_buf;