Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/korean/engdic/files/patch-engdic.c
16461 views
1
--- engdic.c.orig 1999-09-05 22:48:50.000000000 -0400
2
+++ engdic.c 2013-08-30 13:54:53.000000000 -0400
3
@@ -29,6 +29,7 @@
4
#include <termio.h>
5
#endif
6
7
+#include <ctype.h>
8
#include <stdio.h>
9
#include <stdlib.h>
10
#include <string.h>
11
@@ -49,7 +50,17 @@
12
char get_command(void) ;
13
struct size_buf get_term(void);
14
15
+void clear_eol(void) ;
16
+void deinit(void) ;
17
+void flush(void) ;
18
+char getchr(void) ;
19
+void init(void) ;
20
+void lower_left(void) ;
21
+int putchr(int) ;
22
char putstr (char *s) ;
23
+void raw_mode(int on) ;
24
+void so_enter(void) ;
25
+void so_exit(void) ;
26
char sep[] = ":" ;
27
static int line = 0 ;
28
29
@@ -68,7 +79,7 @@
30
struct stat sb ;
31
32
// type of gzip file //
33
- register gzFile *gzfp ;
34
+ register gzFile gzfp ;
35
36
37
if (argc > 1) {
38
@@ -182,7 +193,7 @@
39
register int check_cols_count = 0 ;
40
char ch ;
41
42
- if (tk == NULL || tk2 == NULL) return ;
43
+ if (tk == NULL || tk2 == NULL) return 0 ;
44
45
putstr(WORD_COLOR) ; putstr("[ ") ; putstr(tk); putchr(']') ;
46
putstr(NO_COLOR) ; putstr("\r\n") ;
47
48