ccan: Correct some poor conventions in _info includes
[ccan] / ccan / bitmap / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * bitmap - bitmap handling
7  *
8  * This code handles manipulation of bitmaps, arbitrary length arrays
9  * of bits.
10  *
11  * License: LGPL (v2.1 or any later version)
12  * Author: David Gibson <david@gibson.dropbear.id.au>
13  */
14 int main(int argc, char *argv[])
15 {
16         /* Expect exactly one argument */
17         if (argc != 2)
18                 return 1;
19
20         if (strcmp(argv[1], "depends") == 0) {
21                 printf("ccan/endian\n");
22                 return 0;
23         }
24
25         if (strcmp(argv[1], "testdepends") == 0) {
26                 printf("ccan/array_size\n");
27                 printf("ccan/foreach\n");
28                 return 0;
29         }
30
31         return 1;
32 }