]> git.ozlabs.org Git - ccan/blobdiff - ccan/autodata/autodata.h
Fix typos detected by github.com/client9/misspell
[ccan] / ccan / autodata / autodata.h
index 3b1d01b4a83c1ec31d8529784e27f77f0d702962..1e513963f73f3209b2412782e38381fa5745ad59 100644 (file)
@@ -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++)