Module: xenomai-head
Branch: master
Commit: 3d931f877183807cc28b95cc1d92eeee6124198b
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=3d931f877183807cc28b95cc1d92eeee6124198b

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Jun 12 17:09:15 2009 +0200

Void argument if unused

---

 include/asm-generic/wrappers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index cbb8c43..3280845 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -532,7 +532,7 @@ static inline void wrap_proc_dir_entry_owner(struct 
proc_dir_entry *entry)
     entry->owner = THIS_MODULE;
 }
 #else  /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) */
-#define wrap_proc_dir_entry_owner(entry)
+#define wrap_proc_dir_entry_owner(entry) do { (void)entry; } while(0)
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) */
 #endif /* CONFIG_PROC_FS */
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to