static boolean popmenubarlist (hdlmenubarstack hstack) { /* unlink the indicated menubar from the menubarlist */ return (listunlink ((hdllinkedlist) menubarlist, (hdllinkedlist) hstack)); } /*popmenubarlist*/
static boolean dbclosefile (hdlodbrecord hodb) { if (!odbclosefile ((**hodb).odb)) return (false); closefile ((**hodb).fref); listunlink ((hdllinkedlist) hodblist, (hdllinkedlist) hodb); disposehandle ((Handle) hodb); return (true); } /*dbclosefile*/
LIST *listdel(LIST * head, LIST * elt, freefunc func) { if (!elt) return head; if (head) head = listunlink(head, elt); if (func) (*func) (elt); G_free(elt); return head; }