ref: 94bca881fc000cf66a48ade290984ce45cbae5b2
dir: /src/libgsm/gsm_create.c/
/* * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include "gsm.h" #include "private.h" gsm gsm_create () { gsm r; r = (gsm)malloc(sizeof(struct gsm_state)); if (!r) return r; memset((char *)r, 0, sizeof(*r)); r->nrp = 40; return r; }