X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fautodata%2Fautodata.h;h=1e513963f73f3209b2412782e38381fa5745ad59;hb=d1a951b82386391b82e48b32403891f85e253565;hp=3b1d01b4a83c1ec31d8529784e27f77f0d702962;hpb=1cf60226627d300ec1f87a68a5c9c9981124c1bf;p=ccan diff --git a/ccan/autodata/autodata.h b/ccan/autodata/autodata.h index 3b1d01b4..1e513963 100644 --- a/ccan/autodata/autodata.h +++ b/ccan/autodata/autodata.h @@ -12,7 +12,7 @@ * @name: the name for this set of autodata * @type: the type this autodata points to * - * This macro is usually placed in a header: it must preceed any + * This macro is usually placed in a header: it must precede any * autodata functions in the file. * * Example: @@ -59,7 +59,8 @@ * Example: * static void print_embedded_names(void) * { - * unsigned int i, num; + * unsigned int i; + * size_t num; * char **n = autodata_get(names, &num); * * for (i = 0; i < num; i++)