]> git.ozlabs.org Git - ccan/blobdiff - ccan/autodata/_info
ccanlint: enhance and streamline "output" testing lines.
[ccan] / ccan / autodata / _info
index c9cf266391d8422a3a64443bee4da769bd6a0cd9..507de1a1ed9e2452a023872931f2a20a256d1def 100644 (file)
@@ -1,5 +1,6 @@
-#include <string.h>
 #include "config.h"
+#include <stdio.h>
+#include <string.h>
 
 /**
  * autodata - stash pointers in your binary for automatic registration
@@ -91,8 +92,8 @@
  *             printf("verbose mode on\n");
  *     return 0;
  * }
- * // Given -v outputs 'verbose mode on'
- * // Given -v -C / outputs 'chdir to /. verbose mode on'
+ * // Given "-v" outputs "verbose mode on\n"
+ * // Given "-v -C /" outputs "chdir to /. verbose mode on\n"
  */
 int main(int argc, char *argv[])
 {