Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ed/unmkpat.c @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | bef1844de0dc |
children |
line wrap: on
line source
/* unmkpat.c */ #include <stdio.h> #include "tools.h" /* Free up the memory usde for token string */ unmakepat(head) TOKEN *head; { register TOKEN *old_head; while (head) { switch (head->tok) { case CCL: case NCCL: free(head->bitmap); /* Fall through to default */ default: old_head = head; head = head->next; free((char *) old_head); break; } } }