]> git.mxchange.org Git - flightgear.git/blob - 3rdparty/iaxclient/lib/gsm/src/gsm_destroy.c
VS2015 compatability fixes.
[flightgear.git] / 3rdparty / iaxclient / lib / gsm / src / gsm_destroy.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
7 /* $Header$ */
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 }