gsm_destroy.c
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:1k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

C/C++

  1. /*
  2.  * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
  3.  * Universitaet Berlin.  See the accompanying file "COPYRIGHT" for
  4.  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  5.  */
  6. /* $Header: /cvsroot/vocal.modules/contrib/libsndfile-0.0.22/src/GSM610/gsm_destroy.c,v 1.2 2001/02/27 19:23:05 deepalir Exp $ */
  7. #include "gsm.h"
  8. #include "config.h"
  9. #include "proto.h"
  10. #ifdef HAS_STDLIB_H
  11. # include <stdlib.h>
  12. #else
  13. # ifdef HAS_MALLOC_H
  14. # include  <malloc.h>
  15. # else
  16. extern void free();
  17. # endif
  18. #endif
  19. void gsm_destroy P1((S), gsm S)
  20. {
  21. if (S) free((char *)S);
  22. }