chiark / gitweb /
random-seed: add little tool for saving/loading random seed on shutdown/boot, but...
[elogind.git] / src / macro.h
index 7bd57b3a8e1bad41d37c35a55a46f59e94117859..10a106bc196be3f1900d96d7b59cc9771a47520e 100644 (file)
@@ -40,6 +40,7 @@
 #define _unlikely_(x) (__builtin_expect(!!(x),0))
 #define _public_ __attribute__ ((visibility("default")))
 #define _hidden_ __attribute__ ((visibility("hidden")))
+#define _weakref_(x) __attribute__((weakref(#x)))
 
 /* Rounds up */
 static inline size_t ALIGN(size_t l) {