~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/gsm/src/gsm_create.c

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

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
 
static char const       ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $";
8
 
 
9
 
#include        "config.h"
10
 
 
11
 
#ifdef  HAS_STRING_H
12
 
#include        <string.h>
13
 
#else
14
 
#       include "proto.h"
15
 
        extern char     * memset P((char *, int, int));
16
 
#endif
17
 
 
18
 
#ifdef  HAS_STDLIB_H
19
 
#       include <stdlib.h>
20
 
#else
21
 
#       ifdef   HAS_MALLOC_H
22
 
#               include         <malloc.h>
23
 
#       else
24
 
                extern char * malloc();
25
 
#       endif
26
 
#endif
27
 
 
28
 
#include <stdio.h>
29
 
 
30
 
#include "gsm.h"
31
 
#include "private.h"
32
 
#include "proto.h"
33
 
 
34
 
gsm gsm_create P0()
35
 
{
36
 
        gsm  r;
37
 
 
38
 
        r = (gsm)malloc(sizeof(struct gsm_state));
39
 
        if (!r) return r;
40
 
 
41
 
        memset((char *)r, 0, sizeof(*r));
42
 
        r->nrp = 40;
43
 
 
44
 
        return r;
45
 
}