X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fautodata%2F_info;h=a101276d7720ae1988664f20acc3fd31a26769d0;hp=11b6e16dcc183c0d093c6bed66ff71adc7b01f23;hb=291237b4fed863be74051274ac5ad9920cb33cc3;hpb=3db2dce0d4b266b13a0e58fc8583e66177ed4555 diff --git a/ccan/autodata/_info b/ccan/autodata/_info index 11b6e16d..a101276d 100644 --- a/ccan/autodata/_info +++ b/ccan/autodata/_info @@ -1,5 +1,6 @@ -#include #include "config.h" +#include +#include /** * 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: