lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / quoting-test.c
index fe848ba624985feefe4758a289db5a17e8ee4aa6..5469677eee9345b73cc08f933587a4aa2ea0d06a 100644 (file)
@@ -1,9 +1,10 @@
 /*
- * Copyright (c) 2008,2009 Zmanda, Inc.  All Rights Reserved.
+ * Copyright (c) 2008-2012 Zmanda, Inc.  All Rights Reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
+ * 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 the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
@@ -78,7 +79,7 @@ char * quotable_strings[] = {
  * Round-trip testing of quoting functions
  */
 
-static int
+static gboolean
 test_round_trip(void)
 {
     char **strp;
@@ -161,7 +162,7 @@ compare_strv(
     return TRUE;
 }
 
-static int
+static gboolean
 test_split_quoted_strings(void)
 {
     char **iter1, **iter2, **iter3;
@@ -215,7 +216,7 @@ struct trial {
     const char *expected[5];
 };
 
-static int
+static gboolean
 test_split_quoted_strings_edge(void)
 {
     gboolean success = TRUE;
@@ -250,7 +251,7 @@ test_split_quoted_strings_edge(void)
 /****
  * Test unquoting of some pathological strings
  */
-static int
+static gboolean
 test_unquote_string(void)
 {
     gboolean success = TRUE;
@@ -333,7 +334,7 @@ test_unquote_string(void)
 /****
  * Test the strquotedstr function
  */
-static int
+static gboolean
 test_strquotedstr_skipping(void)
 {
     char **iter1, **iter2;
@@ -394,7 +395,7 @@ next:
     return success;
 }
 
-static int
+static gboolean
 test_strquotedstr_edge_invalid(void)
 {
     gboolean success = TRUE;
@@ -430,7 +431,7 @@ test_strquotedstr_edge_invalid(void)
     return success;
 }
 
-static int
+static gboolean
 test_strquotedstr_edge_valid(void)
 {
     gboolean success = TRUE;