diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 20:55:00 +0000 | 
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 20:55:00 +0000 | 
| commit | 71704754d636aad0ea46ced7b17f106140d7110a (patch) | |
| tree | 266d8289d30562e718f5bcdb2b8679aee8723d6c /compiler-rt/lib/profile/InstrProfilingExtras.c | |
| parent | d7fa5bd43184cba66965a05fefa3fc369cf0e3ad (diff) | |
| download | bcm5719-llvm-71704754d636aad0ea46ced7b17f106140d7110a.tar.gz bcm5719-llvm-71704754d636aad0ea46ced7b17f106140d7110a.zip | |
PGO: Declare zero-argument C functions as foo(void)
It turns out this is C code.  Specify foo(void).
<rdar://problem/15943240>
llvm-svn: 204396
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingExtras.c')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingExtras.c | 4 | 
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) { | 

