diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:17:12 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:16:46 -0400 |
commit | e54aafa0c3bef84bfd39b4c713942ae7cdcfc58a (patch) | |
tree | 8b90a4de29ea1a9c407f792a4d96b459f859fb4c /arch/s390/oprofile | |
parent | c4736d968254d71eba6814b2234a4e63f40aca15 (diff) |
[S390] sparse: fix sparse ANSI-C warnings
Fix prototype of some functions in arch/s390/oprofile to avoid non-ANSI
warnings from sparse.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/oprofile')
-rw-r--r-- | arch/s390/oprofile/hwsampler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/oprofile/hwsampler.c b/arch/s390/oprofile/hwsampler.c index 4552ce40c81a..f43c0e4282af 100644 --- a/arch/s390/oprofile/hwsampler.c +++ b/arch/s390/oprofile/hwsampler.c | |||
@@ -994,7 +994,7 @@ allocate_error: | |||
994 | * | 994 | * |
995 | * Returns 0 on success, !0 on failure. | 995 | * Returns 0 on success, !0 on failure. |
996 | */ | 996 | */ |
997 | int hwsampler_deallocate() | 997 | int hwsampler_deallocate(void) |
998 | { | 998 | { |
999 | int rc; | 999 | int rc; |
1000 | 1000 | ||
@@ -1035,7 +1035,7 @@ unsigned long hwsampler_get_sample_overflow_count(unsigned int cpu) | |||
1035 | return cb->sample_overflow; | 1035 | return cb->sample_overflow; |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | int hwsampler_setup() | 1038 | int hwsampler_setup(void) |
1039 | { | 1039 | { |
1040 | int rc; | 1040 | int rc; |
1041 | int cpu; | 1041 | int cpu; |
@@ -1102,7 +1102,7 @@ setup_exit: | |||
1102 | return rc; | 1102 | return rc; |
1103 | } | 1103 | } |
1104 | 1104 | ||
1105 | int hwsampler_shutdown() | 1105 | int hwsampler_shutdown(void) |
1106 | { | 1106 | { |
1107 | int rc; | 1107 | int rc; |
1108 | 1108 | ||
@@ -1203,7 +1203,7 @@ start_all_exit: | |||
1203 | * | 1203 | * |
1204 | * Returns 0 on success, !0 on failure. | 1204 | * Returns 0 on success, !0 on failure. |
1205 | */ | 1205 | */ |
1206 | int hwsampler_stop_all() | 1206 | int hwsampler_stop_all(void) |
1207 | { | 1207 | { |
1208 | int tmp_rc, rc, cpu; | 1208 | int tmp_rc, rc, cpu; |
1209 | struct hws_cpu_buffer *cb; | 1209 | struct hws_cpu_buffer *cb; |