diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-03 21:36:10 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-04 18:40:08 -0800 |
commit | 277ccbd200ea43590dfc06a93ae184a765327ad0 (patch) | |
tree | d89712e93da5fb2748989353c9ee071102cf3f33 /sigchainlib | |
parent | ad17d41841ba1fb177fb0bf175ec0e9f5e1412b3 (diff) | |
download | art-277ccbd200ea43590dfc06a93ae184a765327ad0.zip art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.gz art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.bz2 |
ART: More warnings
Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general,
and -Wunused-but-set-parameter for GCC builds.
Change-Id: I81bbdd762213444673c65d85edae594a523836e5
Diffstat (limited to 'sigchainlib')
-rw-r--r-- | sigchainlib/sigchain_dummy.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sigchainlib/sigchain_dummy.cc b/sigchainlib/sigchain_dummy.cc index 0d62a7a..76779ab 100644 --- a/sigchainlib/sigchain_dummy.cc +++ b/sigchainlib/sigchain_dummy.cc @@ -41,6 +41,9 @@ static void log(const char* format, ...) { va_end(ap); } +namespace art { + + extern "C" void ClaimSignalChain(int signal ATTRIBUTE_UNUSED, struct sigaction* oldaction ATTRIBUTE_UNUSED) { log("ClaimSignalChain is not exported by the main executable."); @@ -69,3 +72,5 @@ extern "C" void EnsureFrontOfChain(int signal ATTRIBUTE_UNUSED, log("EnsureFrontOfChain is not exported by the main executable."); abort(); } + +} // namespace art |