]> git.ozlabs.org Git - ccan/blobdiff - ccan/string/_info.c
Document license requirements.
[ccan] / ccan / string / _info.c
index 9cb691ce64f5701cf181fccd9d04d6bc42e4874d..873d36075a8dd3e88e0e5197d497bb483f0d7ef0 100644 (file)
@@ -5,7 +5,7 @@
 /**
  * string - string helper routines
  *
- * This is a grab bag of modules for string comparisons, designed to enhance
+ * This is a grab bag of modules for string operations, designed to enhance
  * the standard string.h.
  *
  * Example:
  *                     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)
-               /* Nothing. */
+       if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/talloc\n");
+               printf("ccan/noerr\n");
                return 0;
+       }
 
        return 1;
 }