1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/korean/hmconv/files/patch-hmconv1.0pl3.c
Jung-uk Kim 50dd2c321e - Fix build with Clang.
- Modernize the port, e.g., trim makefile header.
2013-06-12 19:26:46 +00:00

28 lines
569 B
C

--- hmconv1.0pl3.c.orig 1996-07-22 23:16:14.000000000 -0400
+++ hmconv1.0pl3.c 2013-06-12 14:24:05.000000000 -0400
@@ -46,6 +46,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#define isksc(c) ( (unsigned char) (c) > (unsigned char) '\240' && \
@@ -125,6 +126,7 @@
}
#ifndef KNR
+int
main (int argc, char **argv)
#else
main (argc,argv)
@@ -208,7 +210,7 @@
if ( !ishangul) { /* KSC 5601 doesn't appear, yet */
fputs((char *) line,out); /* no conversion */
- return;
+ return(0);
}