static void HandleMapUnmap(w, closure, event, cont ) Widget w GCC_UNUSED; XtPointer closure GCC_UNUSED; XEvent *event; Boolean *cont GCC_UNUSED;
static void HandleMapUnmap( Widget w GCC_UNUSED, XtPointer closure GCC_UNUSED, XEvent *event, Boolean *cont GCC_UNUSED)
static void HandleMapUnmap(w, closure, event, cont )    Widget w GCC_UNUSED;    XtPointer closure GCC_UNUSED;    XEvent *event;    Boolean *cont GCC_UNUSED;{    static char *icon_name;    static Arg args[] = {            { XtNiconName, (XtArgVal) &icon_name }    };    TRACE(("event %d\n", event->type))    switch( event->type ){    case MapNotify:	if( zIconBeep_flagged ) {	    zIconBeep_flagged = False;	    icon_name = NULL;	    XtGetValues(toplevel,args,XtNumber(args));	    if( icon_name != NULL ) {		char	*buf = malloc(strlen(icon_name) + 1);		if (buf == NULL) {			zIconBeep_flagged = True;			return;		}		strcpy(buf, icon_name + 4);		Changename(buf);		free(buf);	    }	}	mapstate = !IsUnmapped;	break;    case UnmapNotify:	mapstate = IsUnmapped;	break;    }}