cpp, more listeners
[staging/windowmanager.git] / src / util.h
index 7a15454..27d1015 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef WM_UTIL_H
 #define WM_UTIL_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void lognotice(char const *fmt, ...);
 void logerror(char const *fmt, ...);
 void fatal(char const *fmt, ...);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // !WM_UTIL_H