[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Changes to qemacs/qe.h
From: |
Charlie Gordon |
Subject: |
[Qemacs-devel] Changes to qemacs/qe.h |
Date: |
Sat, 14 May 2005 04:14:37 -0400 |
Index: qemacs/qe.h
diff -u qemacs/qe.h:1.20 qemacs/qe.h:1.21
--- qemacs/qe.h:1.20 Fri May 13 10:05:24 2005
+++ qemacs/qe.h Sat May 14 08:14:37 2005
@@ -627,9 +627,15 @@
/* make sure that the keyword is not disabled by glibc (TINYC case) */
#undef __attribute__
+#ifndef __attribute_used__
+#define __attribute_used__
+#endif
+
/* same method as the linux kernel... */
-#define __init_call __attribute__ ((unused,__section__ (".initcall.init")))
-#define __exit_call __attribute__ ((unused,__section__ (".exitcall.exit")))
+#define __init_call __attribute_used__ \
+ __attribute__((unused, __section__ (".initcall.init")))
+#define __exit_call __attribute_used__ \
+ __attribute__((unused, __section__ (".exitcall.exit")))
#define qe_module_init(fn) \
static int (*__initcall_##fn)(void) __init_call = fn
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/08
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/09
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/09
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/10
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/11
- [Qemacs-devel] Changes to qemacs/qe.h, Charlie Gordon, 2005/05/13
- [Qemacs-devel] Changes to qemacs/qe.h,
Charlie Gordon <=