Fix addlatin prototype. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 66c949786c0b02a6cb6a12bc2b519d7bea5731ac | |
parent 4ee9c949e17d842112a6ebf9508efb13b0b29870 | |
Author: Rob King <[email protected]> | |
Date: Thu, 11 Aug 2016 23:32:41 -0500 | |
Fix addlatin prototype. | |
Diffstat: | |
include/libg.h | 1 + | |
libXg/latin1.c | 2 +- | |
2 files changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/include/libg.h b/include/libg.h | |
@@ -137,6 +137,7 @@ enum Fcode | |
typedef void (*Errfunc)(char *); | |
+extern void addlatin(char, char, short); | |
extern Point add(Point, Point); | |
extern Point sub(Point, Point); | |
extern Point mul(Point, int); | |
diff --git a/libXg/latin1.c b/libXg/latin1.c | |
@@ -236,7 +236,7 @@ freelatin(void) | |
} | |
void | |
-addlatin(char c0, char c1, int l) | |
+addlatin(char c0, char c1, short l) | |
{ | |
static int i = 0; | |