X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstring%2F_info.c;fp=ccan%2Fstring%2F_info.c;h=0000000000000000000000000000000000000000;hb=9965fc25fcc92dc76d1cd4cf9595dc3dc9ebc586;hp=873d36075a8dd3e88e0e5197d497bb483f0d7ef0;hpb=963fa5ca9303d146d635e2fba04814f4f791c559;p=ccan diff --git a/ccan/string/_info.c b/ccan/string/_info.c deleted file mode 100644 index 873d3607..00000000 --- a/ccan/string/_info.c +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include -#include "config.h" - -/** - * string - string helper routines - * - * This is a grab bag of modules for string operations, designed to enhance - * the standard string.h. - * - * Example: - * #include "string/string.h" - * - * int main(int argc, char *argv[]) - * { - * if (argv[1] && streq(argv[1], "--verbose")) - * printf("verbose set\n"); - * if (argv[1] && strstarts(argv[1], "--")) - * printf("Some option set\n"); - * if (argv[1] && strends(argv[1], "cow-powers")) - * printf("Magic option set\n"); - * return 0; - * } - * - * Licence: LGPL (2 or any later version) - */ -int main(int argc, char *argv[]) -{ - if (argc != 2) - return 1; - - if (strcmp(argv[1], "depends") == 0) { - printf("ccan/talloc\n"); - printf("ccan/noerr\n"); - return 0; - } - - return 1; -}