X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcrc%2F_info;h=295195c4ef0d82b8afcc791bc36c318ef8248361;hp=c3f0b7635e221b6007f42274995dd3db7e9b2abb;hb=ab43c3d0de45ba1012b4e3ff669517f78cac6092;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632 diff --git a/ccan/crc/_info b/ccan/crc/_info index c3f0b763..295195c4 100644 --- a/ccan/crc/_info +++ b/ccan/crc/_info @@ -1,4 +1,5 @@ #include +#include /** * crc - routines for crc of bytes @@ -10,7 +11,7 @@ * detect a single error burst of up to 32 bits. * * Example: - * #include + * #include * #include * #include * @@ -21,11 +22,11 @@ * "Prints 32 bit CRC of the string\n", argv[0]); * exit(1); * } - * printf("0x%08x\n", crc32c(argv[1], strlen(argv[1]))); + * printf("0x%08x\n", crc32c(0, argv[1], strlen(argv[1]))); * exit(0); * } * - * Licence: GPL (v2 or any later version) + * License: GPL (v2 or any later version) * Author: Gary S. Brown, Clay Haapala * Maintainer: Rusty Russell */ @@ -35,6 +36,7 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/array_size\n"); return 0; }