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.
This commit is contained in:
Eliseo Martínez
2014-05-26 14:26:10 +02:00
committed by Justin M. Keyes
parent 0e9d2464b4
commit 8e3634212d

View File

@@ -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 <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
char buffer[BUFSIZ];
char *p;