mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
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:

committed by
Justin M. Keyes

parent
0e9d2464b4
commit
8e3634212d
@@ -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;
|
||||
|
Reference in New Issue
Block a user