Alexandre Lision | d204ea5 | 2013-10-15 10:16:25 -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 | /* $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 | } |