Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/korean/hmconv/files/patch-hmconv1.0pl3.c
16461 views
1
--- hmconv1.0pl3.c.orig 1996-07-23 03:16:14 UTC
2
+++ hmconv1.0pl3.c
3
@@ -46,6 +46,7 @@
4
5
6
#include <stdio.h>
7
+#include <stdlib.h>
8
#include <string.h>
9
10
#define isksc(c) ( (unsigned char) (c) > (unsigned char) '\240' && \
11
@@ -125,6 +126,7 @@ char *optstring;
12
}
13
14
#ifndef KNR
15
+int
16
main (int argc, char **argv)
17
#else
18
main (argc,argv)
19
@@ -208,7 +210,7 @@ int convert()
20
21
if ( !ishangul) { /* KSC 5601 doesn't appear, yet */
22
fputs((char *) line,out); /* no conversion */
23
- return;
24
+ return(0);
25
}
26
27
28
29