summaryrefslogtreecommitdiff
path: root/lib/debug.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-11-11 14:57:05 +0100
committerLinus Nordberg <linus@nordu.net>2010-11-11 14:57:05 +0100
commit61010c7b868bb7ceef4a04af23e2b139163dd431 (patch)
tree425592a98e6c5380f298a0692ff534cbc8117b07 /lib/debug.h
parent8f48dfbad11382b92fc9abaa6fa41756ec087194 (diff)
Add extern "C" guards to all header files.
Diffstat (limited to 'lib/debug.h')
-rw-r--r--lib/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/debug.h b/lib/debug.h
index 1dada4e..09a6529 100644
--- a/lib/debug.h
+++ b/lib/debug.h
@@ -7,5 +7,13 @@
if (i % 16 == 0) printf ("\n"); } \
printf ("\n"); }
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
void rs_dump_packet (const struct rs_packet *pkt);
void rs_dump_attr (const struct rs_attr *attr);
+
+#if defined (__cplusplus)
+}
+#endif