aboutsummaryrefslogtreecommitdiff
path: root/src/include/halloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/halloc.h')
-rw-r--r--src/include/halloc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/halloc.h b/src/include/halloc.h
index 9ecd3aa0..6df64c31 100644
--- a/src/include/halloc.h
+++ b/src/include/halloc.h
@@ -1,7 +1,7 @@
/*
Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
- Copyright (C) 2007-2008, Gabriel Dos Reis.
+ Copyright (C) 2007-2010, Gabriel Dos Reis.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -36,6 +36,14 @@
#ifndef OPENAXIOM_HALLOC
#define OPENAXIOM_HALLOC
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern char * halloc(int, const char*);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* OPENAXIOM_HALLOC */