]> git.ozlabs.org Git - ccan/blobdiff - ccan/memmem/_info
mem: Rename memmem module to mem
[ccan] / ccan / memmem / _info
diff --git a/ccan/memmem/_info b/ccan/memmem/_info
deleted file mode 100644 (file)
index 3361be9..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "config.h"
-#include <stdio.h>
-#include <string.h>
-
-/**
- * memmem - Trivial module providing a memmem() implementation
- *
- * This code implements memmem() if it's not alreayd available in the
- * C library.
- *
- * License: CC0
- */
-int main(int argc, char *argv[])
-{
-       /* Expect exactly one argument */
-       if (argc != 2)
-               return 1;
-
-       if (strcmp(argv[1], "depends") == 0) {
-               return 0;
-       }
-
-       if (strcmp(argv[1], "testdepends") == 0) {
-               printf("ccan/array_size");
-               return 0;
-       }
-
-       return 1;
-}