shithub: sox

Download patch

ref: 18eb92b96b5615f1fcdd0dba6ea7ce140a99528a
parent: 51d22893437c3dcd74d31093e4b0f20d717007b6
author: rrt <rrt>
date: Wed Dec 6 14:24:45 EST 2006

Remove $Header RCS tokens, they only introduce unnecessary changes
that confuse editors and make.

Don't need to check pointer is non-NULL before free in gsm_destroy.

Makefile.in updated.

--- a/src/libgsm/Makefile.in
+++ b/src/libgsm/Makefile.in
@@ -116,7 +116,6 @@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
-PLAY_SUPPORT = @PLAY_SUPPORT@
 RANLIB = @RANLIB@
 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@
 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@
--- a/src/libgsm/add.c
+++ b/src/libgsm/add.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/add.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $ */
-
 /*
  *  See private.h for the more commonly used macro versions.
  */
--- a/src/libgsm/code.c
+++ b/src/libgsm/code.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/code.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $ */
-
 #include	<stdlib.h>
 #include	<string.h>
 
--- a/src/libgsm/decode.c
+++ b/src/libgsm/decode.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/decode.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $ */
-
 #include <stdio.h>
 
 #include	"private.h"
--- a/src/libgsm/gsm.h
+++ b/src/libgsm/gsm.h
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/*$Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm.h,v 1.3 2006/12/06 17:29:36 rrt Exp $*/
-
 #ifndef	GSM_H
 #define	GSM_H
 
--- a/src/libgsm/gsm_create.c
+++ b/src/libgsm/gsm_create.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-static char const	ident[] = "$Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm_create.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $";
-
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
--- a/src/libgsm/gsm_decode.c
+++ b/src/libgsm/gsm_decode.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm_decode.c,v 1.2 2006/12/06 17:29:36 rrt Exp $ */
-
 #include "private.h"
 
 #include "gsm.h"
--- a/src/libgsm/gsm_destroy.c
+++ b/src/libgsm/gsm_destroy.c
@@ -4,13 +4,11 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm_destroy.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $ */
-
 #include "gsm.h"
 
-#	include	<stdlib.h>
+#include <stdlib.h>
 
 void gsm_destroy (gsm S)
 {
-	if (S) free((char *)S);
+  free((char *)S);
 }
--- a/src/libgsm/gsm_encode.c
+++ b/src/libgsm/gsm_encode.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm_encode.c,v 1.2 2006/12/06 17:29:36 rrt Exp $ */
-
 #include "private.h"
 #include "gsm.h"
 
--- a/src/libgsm/gsm_option.c
+++ b/src/libgsm/gsm_option.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/gsm_option.c,v 1.2 2006/12/06 17:29:36 rrt Exp $ */
-
 #include "private.h"
 
 #include "gsm.h"
--- a/src/libgsm/long_term.c
+++ b/src/libgsm/long_term.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/long_term.c,v 1.2 2006/12/06 17:29:36 rrt Exp $ */
-
 #include <stdio.h>
 #include <assert.h>
 
--- a/src/libgsm/lpc.c
+++ b/src/libgsm/lpc.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/lpc.c,v 1.2 2006/12/06 18:08:33 rrt Exp $ */
-
 #include <stdio.h>
 #include <assert.h>
 
--- a/src/libgsm/preprocess.c
+++ b/src/libgsm/preprocess.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/preprocess.c,v 1.1 2006/08/27 23:04:56 cbagwell Exp $ */
-
 #include	<stdio.h>
 #include	<assert.h>
 
--- a/src/libgsm/private.h
+++ b/src/libgsm/private.h
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/*$Header: /cvsroot/sox/sox/src/libgsm/Attic/private.h,v 1.2 2006/12/06 17:29:36 rrt Exp $*/
-
 #ifndef	PRIVATE_H
 #define	PRIVATE_H
 
--- a/src/libgsm/rpe.c
+++ b/src/libgsm/rpe.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/rpe.c,v 1.2 2006/12/06 17:35:26 rrt Exp $ */
-
 #include <stdio.h>
 #include <assert.h>
 
--- a/src/libgsm/short_term.c
+++ b/src/libgsm/short_term.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/short_term.c,v 1.2 2006/12/06 18:08:33 rrt Exp $ */
-
 #include <stdio.h>
 #include <assert.h>
 
--- a/src/libgsm/table.c
+++ b/src/libgsm/table.c
@@ -4,8 +4,6 @@
  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  */
 
-/* $Header: /cvsroot/sox/sox/src/libgsm/Attic/table.c,v 1.1 2006/08/27 23:04:57 cbagwell Exp $ */
-
 /*  Most of these tables are inlined at their point of use.
  */