]> git.ozlabs.org Git - ccan/blobdiff - ccan/strmap/_info
ccanlint: enhance and streamline "output" testing lines.
[ccan] / ccan / strmap / _info
index 6d03b0caaa9c4c81ec30bba34e66e3dddf4d7dbb..55319a82db53009bd3ab0b6cdd5830bd73cfd4d7 100644 (file)
@@ -1,5 +1,6 @@
-#include <string.h>
 #include "config.h"
+#include <stdio.h>
+#include <string.h>
 
 /**
  * strmap - an ordered map of strings to values
@@ -39,9 +40,9 @@
  *     printf("\n");
  *     return 0;
  * }
- * // Given 'foo' outputs 'foo at 1. '
- * // Given 'foo bar' outputs 'bar at 2. foo at 1. '
- * // Given 'foo foo bar zebra' outputs 'bar at 3. foo at 1. zebra at 4. '
+ * // Given "foo" outputs "foo at 1. \n"
+ * // Given "foo bar" outputs "bar at 2. foo at 1. \n"
+ * // Given "foo foo bar zebra" outputs "bar at 3. foo at 1. zebra at 4. \n"
  */
 int main(int argc, char *argv[])
 {