/* Bootstrap include so that #include <vppinfra/mem.h> can include e.g.
<vppinfra/mheap.h> which depends on <vppinfra/vec.h>. */
-#include <vppinfra/clib.h> /* for uword */
+#include <vppinfra/clib.h> /* for uword */
-enum {
- CLIB_ERROR_FATAL = 1 << 0,
- CLIB_ERROR_ABORT = 1 << 1,
- CLIB_ERROR_WARNING = 1 << 2,
+enum
+{
+ CLIB_ERROR_FATAL = 1 << 0,
+ CLIB_ERROR_ABORT = 1 << 1,
+ CLIB_ERROR_WARNING = 1 << 2,
CLIB_ERROR_ERRNO_VALID = 1 << 16,
CLIB_ERROR_NO_RATE_LIMIT = 1 << 17,
};
Code specifies whether to call exit, abort or nothing at
all (for non-fatal warnings). */
extern void _clib_error (int code,
- char * function_name,
- uword line_number,
- char * format, ...);
+ char *function_name,
+ uword line_number, char *format, ...);
#define ASSERT(truth) \
do { \
} while (0)
#endif /* included_error_bootstrap_h */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */