summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingUtil.h
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-08-31 13:23:24 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-08-31 13:23:24 +0000
commitfbac1ae0622f17aaa3ee15a1bd7b6d8a64be9358 (patch)
tree89047c66d3a11de60f42d59d3362e72f20e13967 /compiler-rt/lib/profile/InstrProfilingUtil.h
parent56572c6a5e47eb8581662f436810e2472416e91f (diff)
downloadbcm5719-llvm-fbac1ae0622f17aaa3ee15a1bd7b6d8a64be9358.tar.gz
bcm5719-llvm-fbac1ae0622f17aaa3ee15a1bd7b6d8a64be9358.zip
Build LLVM with -Wstrict-prototypes enabled
Clang 5 supports -Wstrict-prototypes. We should use it to catch any C declarations that declare a non-prototype function. rdar://33705313 Differential Revision: https://reviews.llvm.org/D36669 llvm-svn: 312240
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingUtil.h')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingUtil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingUtil.h b/compiler-rt/lib/profile/InstrProfilingUtil.h
index 9698599606e..fdbfd4a274a 100644
--- a/compiler-rt/lib/profile/InstrProfilingUtil.h
+++ b/compiler-rt/lib/profile/InstrProfilingUtil.h
@@ -54,9 +54,9 @@ void *lprofPtrFetchAdd(void **Mem, long ByteIncr);
/* Temporarily suspend SIGKILL. Return value of 1 means a restore is needed.
* Other return values mean no restore is needed.
*/
-int lprofSuspendSigKill();
+int lprofSuspendSigKill(void);
/* Restore previously suspended SIGKILL. */
-void lprofRestoreSigKill();
+void lprofRestoreSigKill(void);
#endif /* PROFILE_INSTRPROFILINGUTIL_H */
OpenPOWER on IntegriCloud