From 8e3634212dc01b583db557d7b65d8aff01c60019 Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Mon, 26 May 2014 14:26:10 +0200 Subject: Fix localization: Fix build: Fix sjis-fixing executable. Problem: Executable used to fix japanese files with sjis encoding (sjiscorr) fails to compile. Solution: - Add mising includes. - Remove __END_DECLS. - Add removed comments. --- src/nvim/po/sjiscorr.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/po/sjiscorr.c b/src/nvim/po/sjiscorr.c index 6976ed8b9e..bce3477b90 100644 --- a/src/nvim/po/sjiscorr.c +++ b/src/nvim/po/sjiscorr.c @@ -1,4 +1,11 @@ -__END_DECLS int main(int argc, char **argv) +// Simplistic program to correct SJIS inside strings. +// When a trail byte is a backslash it needs to be doubled. +// Public domain. + +#include +#include + +int main(int argc, char **argv) { char buffer[BUFSIZ]; char *p; -- cgit