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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/gsm/inc/proto.h

  • 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
/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/proto.h,v 1.1 1992/10/28 00:11:08 jutta Exp $*/
 
8
 
 
9
#ifndef PROTO_H
 
10
#define PROTO_H
 
11
 
 
12
#if __cplusplus
 
13
#       define  NeedFunctionPrototypes  1
 
14
#endif
 
15
 
 
16
#if __STDC__
 
17
#       define  NeedFunctionPrototypes  1
 
18
#endif
 
19
 
 
20
#ifdef  _NO_PROTO
 
21
#       undef   NeedFunctionPrototypes
 
22
#endif
 
23
 
 
24
#undef  P       /* gnu stdio.h actually defines this...         */
 
25
#undef  P0
 
26
#undef  P1
 
27
#undef  P2
 
28
#undef  P3
 
29
#undef  P4
 
30
#undef  P5
 
31
#undef  P6
 
32
#undef  P7
 
33
#undef  P8
 
34
 
 
35
#if NeedFunctionPrototypes
 
36
 
 
37
#       define  P( protos )     protos
 
38
 
 
39
#       define  P0()                            (void)
 
40
#       define  P1(x, a)                        (a)
 
41
#       define  P2(x, a, b)                     (a, b)
 
42
#       define  P3(x, a, b, c)                  (a, b, c)
 
43
#       define  P4(x, a, b, c, d)               (a, b, c, d)    
 
44
#       define  P5(x, a, b, c, d, e)            (a, b, c, d, e)
 
45
#       define  P6(x, a, b, c, d, e, f)         (a, b, c, d, e, f)
 
46
#       define  P7(x, a, b, c, d, e, f, g)      (a, b, c, d, e, f, g)
 
47
#       define  P8(x, a, b, c, d, e, f, g, h)   (a, b, c, d, e, f, g, h)
 
48
 
 
49
#else /* !NeedFunctionPrototypes */
 
50
 
 
51
#       define  P( protos )     ( /* protos */ )
 
52
 
 
53
#       define  P0()                            ()
 
54
#       define  P1(x, a)                        x a;
 
55
#       define  P2(x, a, b)                     x a; b;
 
56
#       define  P3(x, a, b, c)                  x a; b; c;
 
57
#       define  P4(x, a, b, c, d)               x a; b; c; d;
 
58
#       define  P5(x, a, b, c, d, e)            x a; b; c; d; e;
 
59
#       define  P6(x, a, b, c, d, e, f)         x a; b; c; d; e; f;
 
60
#       define  P7(x, a, b, c, d, e, f, g)      x a; b; c; d; e; f; g;
 
61
#       define  P8(x, a, b, c, d, e, f, g, h)   x a; b; c; d; e; f; g; h;
 
62
 
 
63
#endif  /* !NeedFunctionPrototypes */
 
64
 
 
65
#endif  /* PROTO_H */