summaryrefslogtreecommitdiffstats
path: root/tools/wavtrim.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
commit3f65a7051f489f141a39faaf85dc2af489b5123e (patch)
tree84c23e570424222240d394e24a58920b7ed8e6d4 /tools/wavtrim.h
parentb2ee5bc6b68316d3cf7e43923765788b114aa192 (diff)
downloadrockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.gz
rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.bz2
rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.zip
Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/wavtrim.h')
-rw-r--r--tools/wavtrim.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/wavtrim.h b/tools/wavtrim.h
index 46c8ff871b..fe78c75818 100644
--- a/tools/wavtrim.h
+++ b/tools/wavtrim.h
@@ -21,7 +21,14 @@
#ifndef WAVTRIM_H
#define WAVTRIM_H
-
+
+#ifdef __cplusplus
+extern "C" {
+#endif
int wavtrim(char * filename, int maxsilence ,char* errstring,int errsize);
-
+
+#ifdef __cplusplus
+}
#endif
+#endif
+