]> git.ozlabs.org Git - ccan/blobdiff - ccan/jmap/jmap_type.h
read_write_all: avoid arithmetic on void pointers.
[ccan] / ccan / jmap / jmap_type.h
index 065526d79de7ca85d31f95eac7db19449d2f4c3e..92850cbe135d516fc70e2b85793b6aed4b826452 100644 (file)
@@ -19,7 +19,7 @@
  *     const char *jmap_@name_error(struct jmap_@name *map);
  *
  *     // Add, set, delete, test and get.
- *     bool jmap_@name_add(const struct jmap_@name *map,
+ *     bool jmap_@name_add(struct jmap_@name *map,
  *                         unsigned long idx, const type *value);
  *     bool jmap_@name_set(const struct jmap_@name *map,
  *                        unsigned long idx, const type *value);