X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fobjset%2F_info;h=967764e7e86cb9de97c622e9b297e74071b85907;hp=cf290289b88387d18ffc8a8ced8ac474f96e4a57;hb=HEAD;hpb=756749b2d337334b23deffcfe75b4f731f8f78d1 diff --git a/ccan/objset/_info b/ccan/objset/_info index cf290289..116c2596 100644 --- a/ccan/objset/_info +++ b/ccan/objset/_info @@ -1,5 +1,6 @@ -#include #include "config.h" +#include +#include /** * objset - unordered set of pointers. @@ -38,11 +39,13 @@ * printf("%i,", i); * printf("\n"); * } + * // Keep -fsanitize=address leak detection happy. + * objset_clear(&args); * return 0; * } - * // Given 'a b c' outputs No arguments start with -. - * // Given 'a -b c' outputs 2, - * // Given 'a -b -c d' outputs 2,3, + * // Given "a b c" outputs No arguments start with -. + * // Given "a -b c" outputs 2, + * // Given "a -b -c d" outputs 2,3, */ int main(int argc, char *argv[]) {