-#include <string.h>
#include "config.h"
+#include <stdio.h>
+#include <string.h>
/**
* autodata - stash pointers in your binary for automatic registration
* together at runtime to form tables. This is often used in place of
* having a central registration function or table.
*
+ * Note that this technique does not work in general for shared libaries,
+ * only for code compiled into a binary.
+ *
* License: BSD-MIT
*
* Example:
* 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[])
{