summary refs log tree commit diff stats
path: root/c/binary-search/binary_search.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/binary-search/binary_search.h')
-rw-r--r--c/binary-search/binary_search.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/binary-search/binary_search.h b/c/binary-search/binary_search.h
new file mode 100644
index 0000000..46d57cc
--- /dev/null
+++ b/c/binary-search/binary_search.h
@@ -0,0 +1,8 @@
+#ifndef BINARY_SEARCH_H
+#define BINARY_SEARCH_H
+
+#include <stddef.h>
+
+const int *binary_search(int value, const int *arr, size_t length);
+
+#endif