[PATCH][makedumpfile] Fix compilation error in sadump_info.h

Suzuki K. Poulose suzuki at in.ibm.com
Fri Jan 13 01:57:50 EST 2012


While compiling the makedumpfile-1.4.1 I got the following error :

In file included from makedumpfile.c:21:
sadump_info.h:86: error: expected identifier or ‘(’ before ‘{’ token


This patch fixes the compilation error in sadump_info.h

Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com>
---

 sadump_info.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sadump_info.h b/sadump_info.h
index 1f74ee5..c4824be 100644
--- a/sadump_info.h
+++ b/sadump_info.h
@@ -82,7 +82,7 @@ static inline int sadump_initialize_bitmap_memory(void)
 	return FALSE;
 }
 
-static inline int sadump_num_online_cpus(void);
+static inline int sadump_num_online_cpus(void)
 {
 	return 0;
 }




More information about the kexec mailing list