Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/chinese/hc/files/patch-hc.c
16461 views
1
--- hc.c.orig 2011-09-05 14:33:19.000000000 +0800
2
+++ hc.c 2011-09-05 14:34:11.000000000 +0800
3
@@ -54,9 +54,11 @@
4
5
6
#include <stdio.h>
7
+#include <stdlib.h>
8
+#include <string.h>
9
#include "hclib.h"
10
11
-static usage(prog)
12
+static int usage(prog)
13
char *prog;
14
{
15
fprintf(stderr,"usage: %s -m mode -map mapping [-t t1 t2 ...] < file\n",
16
@@ -68,6 +70,7 @@ char *prog;
17
}
18
19
20
+int
21
main(argc, argv)
22
int argc;
23
char *argv[];
24
25