ccan: Correct some poor conventions in _info includes
[ccan] / ccan / breakpoint / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * breakpoint - break if the program is run under gdb.
7  *
8  * This code allows you to insert breakpoints within a program.  These will
9  * do nothing unless your program is run under GDB.
10  *
11  * License: CC0 (Public domain)
12  *
13  * Example:
14  *      #include <ccan/breakpoint/breakpoint.h>
15  *
16  *      int main(void)
17  *      {
18  *              breakpoint();
19  *              return 0;
20  *      }
21  */
22 int main(int argc, char *argv[])
23 {
24         /* Expect exactly one argument */
25         if (argc != 2)
26                 return 1;
27
28         if (strcmp(argv[1], "depends") == 0) {
29                 printf("ccan/compiler\n");
30                 return 0;
31         }
32
33         return 1;
34 }