Fix addlatin prototype. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 66c949786c0b02a6cb6a12bc2b519d7bea5731ac
(DIR) parent 4ee9c949e17d842112a6ebf9508efb13b0b29870
(HTM) Author: Rob King <jking@deadpixi.com>
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(-)
---
(DIR) 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);
(DIR) 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;