9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

commit decec5092e45992cd0ae406d7c9ffb4ccd079bdf
parent 025a6f5b514bbcccf6471d6e29d6197f5c2166e8
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Sun, 13 Sep 2009 21:34:44 +0100

better patch
Diffstat:
troff/fns.h | 6+-----
troff/mbwc.c | 1+
troff/mbwc.h | 5+++++
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/troff/fns.h b/troff/fns.h @@ -1,10 +1,6 @@ #define getline p9getline -#define mblen p9mblen -#define mbtowc p9mbtowc -#define mbstowcs p9mbstowcs -#define wctomb p9wctomb -#define wcstombs p9wcstombs +#include "mbwc.h" /* * other diff --git a/troff/mbwc.c b/troff/mbwc.c @@ -1,4 +1,5 @@ #include <stdlib.h> +#include "mbwc.h" /* * Use the FSS-UTF transformation proposed by posix. diff --git a/troff/mbwc.h b/troff/mbwc.h @@ -0,0 +1,5 @@ +#define mblen p9mblen +#define mbtowc p9mbtowc +#define mbstowcs p9mbstowcs +#define wctomb p9wctomb +#define wcstombs p9wcstombs