chiark / gitweb /
lib/addr.c: Introduce our own `freeaddrinfo' function.
[disorder] / server / deadlock.c
index 72a82d47145d0f61f16d05f251ebf54b7691023d..fdc4f50fb17b8bed3e364824acdbb10408789c3f 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder 
- * Copyright (C) 2005, 2007, 2008 Richard Kettlewell
+ * Copyright (C) 2005, 2007-2009 Richard Kettlewell
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -34,7 +34,7 @@ static const struct option options[] = {
 };
 
 /* display usage message and terminate */
-static void help(void) {
+static void attribute((noreturn)) help(void) {
   xprintf("Usage:\n"
          "  disorder-deadlock [OPTIONS]\n"
          "Options:\n"