From 61010c7b868bb7ceef4a04af23e2b139163dd431 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 11 Nov 2010 14:57:05 +0100 Subject: Add extern "C" guards to all header files. --- lib/debug.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/debug.h') 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 -- cgit v1.1