New functions ds_put_strftime(), ds_chomp().
[openvswitch] / include / compiler.h
index d3ea6171973715d1e7239072419fd8c175f99ed0..2e185bfa81701536ade2b4366f2c6124da8a60b7 100644 (file)
@@ -38,6 +38,7 @@
 #define UNUSED __attribute__((__unused__))
 #define PACKED __attribute__((__packed__))
 #define PRINTF_FORMAT(FMT, ARG1) __attribute__((__format__(printf, FMT, ARG1)))
+#define STRFTIME_FORMAT(FMT) __attribute__((__format__(__strftime__, FMT, 0)))
 #define likely(x) __builtin_expect((x),1)
 #define unlikely(x) __builtin_expect((x),0)