summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingExtras.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingExtras.c')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingExtras.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingExtras.c b/compiler-rt/lib/profile/InstrProfilingExtras.c
index 908900423da..87006e8900c 100644
--- a/compiler-rt/lib/profile/InstrProfilingExtras.c
+++ b/compiler-rt/lib/profile/InstrProfilingExtras.c
@@ -29,7 +29,7 @@ void __llvm_profile_set_filename(const char *Filename) {
CurrentFilename = Filename;
}
-void __llvm_profile_write_file() {
+void __llvm_profile_write_file(void) {
const char *Filename = CurrentFilename;
#define UPDATE_FILENAME(NextFilename) \
@@ -41,7 +41,7 @@ void __llvm_profile_write_file() {
__llvm_profile_write_file_with_name(Filename);
}
-void __llvm_profile_register_write_file_atexit() {
+void __llvm_profile_register_write_file_atexit(void) {
static int HasBeenRegistered = 0;
if (!HasBeenRegistered) {
OpenPOWER on IntegriCloud