]> git.ozlabs.org Git - ccan/blobdiff - ccan/grab_file/_info
ccan/bitmap: const for bitmap_test_bit.
[ccan] / ccan / grab_file / _info
index f5d22bbce55494a959adf57b5c05d71457d9469c..1f6e00d73067d7fb94fc1d0130b4ee3d67dd0499 100644 (file)
@@ -35,7 +35,8 @@
  *             return 0;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (v2.1 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
 {
@@ -43,11 +44,14 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
-               printf("ccan/str_talloc\n"); /* Needed for tests. */
                printf("ccan/talloc\n");
                printf("ccan/noerr\n");
                return 0;
        }
+       if (strcmp(argv[1], "testdepends") == 0) {
+               printf("ccan/str_talloc\n");
+               return 0;
+       }
 
        return 1;
 }