summaryrefslogtreecommitdiff
path: root/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c')
-rw-r--r--packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c b/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
index e69de29bb2..3396a5616f 100644
--- a/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
+++ b/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c
@@ -0,0 +1,16 @@
+--- mgetty-1.1.27.orig/voice/libpvf/usr.c
++++ mgetty-1.1.27/voice/libpvf/usr.c
+@@ -103,9 +103,13 @@
+ }
+ }
+ gsm_encode(r, s, d);
++#if defined(old_USR_GSM_with_head_and_tail_bytes)
+ fwrite((char *)gsm_head, 2, 1, fd_out);
++#endif
+ fwrite((char *)d, sizeof(d), 1, fd_out);
++#if defined(old_USR_GSM_with_head_and_tail_bytes)
+ fwrite((char *)gsm_tail, 3, 1, fd_out);
++#endif
+ }
+ gsm_destroy(r);
+ return(OK);