summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vector.h b/src/vector.h
index 0a096f0..cdba376 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -21,12 +21,6 @@
#ifndef _VECTOR_H
#define _VECTOR_H
-/* Allow the use in C++ code. */
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-
/*
* We're using a typedef here to "hide" the implementation details of the
* vector. Sure, it's a pointer, but the struct is hidden in the C file.
@@ -78,7 +72,4 @@ extern "C"
*/
extern ssize_t vector_length (vector_t vector);
-#if defined(__cplusplus)
-}
-#endif /* C++ */
#endif /* _VECTOR_H */