summaryrefslogtreecommitdiffstats
path: root/g729a/lower.sh
diff options
context:
space:
mode:
Diffstat (limited to 'g729a/lower.sh')
-rw-r--r--g729a/lower.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/g729a/lower.sh b/g729a/lower.sh
new file mode 100644
index 0000000..3c9a7c2
--- /dev/null
+++ b/g729a/lower.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# A file with a '.C' (uppercase C) extension will be considered to be a C++ module instead of a C module
+# As 'libg729a' will be linked to a 'C' library we must change the extension or use [export "C"] on all
+# public function. I prefer the first solution.
+
+for f in `ls *.C`
+do
+ echo "Rename file from ${f%.*}.C -to-> ${f%.*}.c"
+ mv ${f%.*}.C ${f%.*}.c
+done
OpenPOWER on IntegriCloud