Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ed/unmkpat.c @ 3215:195c09cade21
Updated MMC Driver makefile so it will have place holders for
dsk, dskclean, and dskcopy so that make does not error out when
chaining into the driver tree to build disk images where applicable.
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Wed, 20 Dec 2017 16:07:36 -0600 |
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; } } }