]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/_info
compiler: use everywhere.
[ccan] / ccan / tdb / _info
index 75f20b455c1a414f18622e17648a57301e1630c6..8c1e5dc47459dcc2aa0093168ee849d5b1befbbf 100644 (file)
@@ -1,4 +1,5 @@
 #include <string.h>
 #include <string.h>
+#include <stdio.h>
 
 /**
  * tdb - The trivial (transactional) database
 
 /**
  * tdb - The trivial (transactional) database
  * Author: Andrew Tridgell, Jeremy Allison, Rusty Russell
  *
  * Licence: LGPLv3 (or later)
  * Author: Andrew Tridgell, Jeremy Allison, Rusty Russell
  *
  * Licence: LGPLv3 (or later)
+ *
+ * Fails: valgrind-tests // valgrind breaks fcntl locks.
  */
 int main(int argc, char *argv[])
 {
        if (argc != 2)
                return 1;
 
  */
 int main(int argc, char *argv[])
 {
        if (argc != 2)
                return 1;
 
-       if (strcmp(argv[1], "depends") == 0)
+       if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/compiler\n");
+               printf("ccan/tally\n");
                return 0;
                return 0;
+       }
 
        return 1;
 }
 
        return 1;
 }