Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ed/setbuf.c @ 3158:927ba5ebc06e
mc09 l2: move MMU bit-field defines to defs file.
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Thu, 06 Apr 2017 21:43:58 +0100 |
parents | bef1844de0dc |
children |
line wrap: on
line source
/* setbuf.c */ #include <stdio.h> #include "tools.h" #include "ed.h" relink(a, x, y, b) LINE *a, *x, *y, *b; { x->l_prev = a; y->l_next = b; } clrbuf() { del(1, lastln); } set_buf() { relink(&line0, &line0, &line0, &line0); curln = lastln = 0; }