ofp-parse: Mark ofp_fatal() as never returning.
authorBen Pfaff <blp@nicira.com>
Sun, 13 May 2012 23:33:01 +0000 (16:33 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 14 May 2012 16:37:19 +0000 (09:37 -0700)
This makes clang less confused.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-parse.c

index 034a6de6948fb5ed2ce3c7c62cd6f041c85211c0..fc86442f7e24bca913fd06c845e64b23e97f14af 100644 (file)
@@ -41,6 +41,9 @@
 
 VLOG_DEFINE_THIS_MODULE(ofp_parse);
 
+static void ofp_fatal(const char *flow, bool verbose, const char *format, ...)
+    NO_RETURN;
+
 static uint8_t
 str_to_table_id(const char *str)
 {