X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Flink%2F_info;h=8e39e781d8569978517854646c21d87cdf2fa68a;hb=HEAD;hp=d128e0106c2bc3eb779c052b4cfb3144ead55688;hpb=72ce81407f677cf279eb46b1c90c34316067b674;p=ccan diff --git a/ccan/tal/link/_info b/ccan/tal/link/_info index d128e010..8e39e781 100644 --- a/ccan/tal/link/_info +++ b/ccan/tal/link/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * tal/link - link helper for tal @@ -14,8 +14,8 @@ * // Silly program which keeps a cache of uppercased strings. * // The cache wants to keep strings around even after they may have * // been "freed" by the caller. - * // Given 'hello' outputs '1 cache hits HELLO ' - * // Given 'hello hello there' outputs '4 cache hits HELLO HELLO THERE ' + * // Given "hello" outputs "1 cache hits HELLO \n" + * // Given "hello hello there" outputs "4 cache hits HELLO HELLO THERE \n" * #include * #include * #include @@ -87,7 +87,7 @@ * * int main(int argc, char *argv[]) * { - * unsigned int i; + * int i; * const char **values; * * // Initialize cache.