Alexandre Lision | 7c6f4a6 | 2013-09-05 13:27:01 -0400 | [diff] [blame] | 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 | #include "gsm.h" | ||||
8 | #include "config.h" | ||||
9 | |||||
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 | |||||
20 | void gsm_destroy (gsm S) | ||||
21 | { | ||||
22 | if (S) free((char *)S); | ||||
23 | } | ||||
24 |