summaryrefslogtreecommitdiffstats
path: root/hdlcutil/hdrvcomm.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-11 08:14:39 +0200
committerRalf Baechle <ralf@linux-mips.org>2001-04-11 08:14:39 +0200
commit59cfcb1d81825cc4816fc1ffddd0193f0ebec4ae (patch)
treee98dece1216a3b31d7170ae0bf0e122de1feac96 /hdlcutil/hdrvcomm.h
parent2964aba637fede36e89a3b6c4330767438a3b619 (diff)
Import ax25-tools 0.0.6 from tarballax25-tools-0.0.6
Diffstat (limited to 'hdlcutil/hdrvcomm.h')
-rw-r--r--hdlcutil/hdrvcomm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/hdlcutil/hdrvcomm.h b/hdlcutil/hdrvcomm.h
index 3167b03..4778d6a 100644
--- a/hdlcutil/hdrvcomm.h
+++ b/hdlcutil/hdrvcomm.h
@@ -30,9 +30,13 @@
#ifndef _HDRVCOMM_H
#define _HDRVCOMM_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ---------------------------------------------------------------------- */
-#define HDRVC_KERNEL 1 //why was undef here ???
+#define HDRVC_KERNEL 1
/* ---------------------------------------------------------------------- */
@@ -106,4 +110,7 @@ extern int hdrvc_diag(struct sm_diag_data *diag);
#endif /* HDRVC_KERNEL */
/* ---------------------------------------------------------------------- */
+#ifdef __cplusplus
+ }
+#endif
#endif /* _HDRVCOMM_H */