~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to sflphone-common/libs/pjproject/third_party/gsm/src/gsm_destroy.c

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2011-11-25 13:24:12 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20111125132412-dc4qvhyosk74cd42
Tags: 1.0.1-4
Don't assume that arch:all packages will get built (closes: #649726)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 
7
 
/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_destroy.c,v 1.3 1994/11/28 19:52:25 jutta Exp $ */
8
 
 
9
 
#include "gsm.h"
10
 
#include "config.h"
11
 
#include "proto.h"
12
 
 
13
 
#ifdef  HAS_STDLIB_H
14
 
#       include <stdlib.h>
15
 
#else
16
 
#       ifdef   HAS_MALLOC_H
17
 
#               include         <malloc.h>
18
 
#       else
19
 
                extern void free();
20
 
#       endif
21
 
#endif
22
 
 
23
 
void gsm_destroy P1((S), gsm S)
24
 
{
25
 
        if (S) free((char *)S);
26
 
}