Introduction
Introduction Statistics Contact Development Disclaimer Help
better patch - 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 <[email protected]>
Date: Sun, 13 Sep 2009 21:34:44 +0100
better patch
Diffstat:
M troff/fns.h | 6 +-----
M troff/mbwc.c | 1 +
A 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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.