X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fshort_types%2F_info;h=f324e359ac8a01f35353e753445b114fbd795d31;hb=4c9a34ea931a990f968add885a64f0a4b617273b;hp=333d84ef230cf4885b8c7e2e873e16aa95d73226;hpb=a6aa7d044cd8ebd32fa7a685de640a0dad28968a;p=ccan diff --git a/ccan/short_types/_info b/ccan/short_types/_info index 333d84ef..f324e359 100644 --- a/ccan/short_types/_info +++ b/ccan/short_types/_info @@ -9,8 +9,9 @@ * -- Linus Torvalds * * The short_types header provides for convenient abbreviations for the - * posixly-damned uint32_t types. It also provides be32/le32 for explicitly - * annotating types of specific endian. + * posixly-damned uint32_t types. If ccan/endian/endian.h is included, + * it also provides be32/le32 for explicitly annotating types of specific + * endian. * * Include this header, if only to stop people using these identifiers * for other things! @@ -65,7 +66,7 @@ * return 0; * } * - * License: Public domain + * License: CC0 (Public domain) * Author: Rusty Russell */ int main(int argc, char *argv[]) @@ -77,5 +78,10 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/endian\n"); + return 0; + } + return 1; }