]> git.ozlabs.org Git - ccan/blobdiff - ccan/autodata/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / autodata / _info
index 11b6e16dcc183c0d093c6bed66ff71adc7b01f23..a101276d7720ae1988664f20acc3fd31a26769d0 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
@@ -8,6 +9,9 @@
  * 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: