1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
Declare all functions used in only one file as static.
diff -ur t1utils-1.35.orig/clp.c t1utils-1.35/clp.c
--- t1utils-1.35.orig/clp.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/clp.c 2010-05-10 10:06:31.835158049 +0200
@@ -612,7 +612,7 @@
return old_utf8;
}
-int
+static int
Clp_OptionChar(Clp_Parser *clp, int c)
{
Clp_Internal *cli = clp->internal;
@@ -1184,7 +1184,7 @@
}
-int
+static int
finish_string_list(Clp_Parser *clp, int val_type, int flags,
Clp_Option *items, int nitems, int itemscap)
{
diff -ur t1utils-1.35.orig/t1ascii.c t1utils-1.35/t1ascii.c
--- t1utils-1.35.orig/t1ascii.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/t1ascii.c 2010-05-10 09:55:47.000000000 +0200
@@ -100,7 +100,7 @@
putc('\n', stderr);
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
@@ -108,7 +108,7 @@
program_name, program_name);
}
-void
+static void
usage(void)
{
printf("\
diff -ur t1utils-1.35.orig/t1asm.c t1utils-1.35/t1asm.c
--- t1utils-1.35.orig/t1asm.c 2009-10-18 19:08:25.000000000 +0200
+++ t1utils-1.35/t1asm.c 2010-05-10 09:55:47.000000000 +0200
@@ -572,7 +572,7 @@
putc('\n', stderr);
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
@@ -580,7 +580,7 @@
program_name, program_name);
}
-void
+static void
usage(void)
{
printf("\
diff -ur t1utils-1.35.orig/t1binary.c t1utils-1.35/t1binary.c
--- t1utils-1.35.orig/t1binary.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/t1binary.c 2010-05-10 09:55:47.000000000 +0200
@@ -132,7 +132,7 @@
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
@@ -141,7 +141,7 @@
}
-void
+static void
usage(void)
{
printf("\
diff -ur t1utils-1.35.orig/t1disasm.c t1utils-1.35/t1disasm.c
--- t1utils-1.35.orig/t1disasm.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/t1disasm.c 2010-05-10 09:55:47.000000000 +0200
@@ -640,7 +640,7 @@
error_count++;
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [INPUT [OUTPUT]]\n\
@@ -648,7 +648,7 @@
program_name, program_name);
}
-void
+static void
usage(void)
{
printf("\
diff -ur t1utils-1.35.orig/t1mac.c t1utils-1.35/t1mac.c
--- t1utils-1.35.orig/t1mac.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/t1mac.c 2010-05-10 09:55:47.000000000 +0200
@@ -778,7 +778,7 @@
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
@@ -787,7 +787,7 @@
}
-void
+static void
usage(void)
{
printf("\
diff -ur t1utils-1.35.orig/t1unmac.c t1utils-1.35/t1unmac.c
--- t1utils-1.35.orig/t1unmac.c 2008-12-07 02:17:20.000000000 +0100
+++ t1utils-1.35/t1unmac.c 2010-05-10 09:55:47.000000000 +0200
@@ -259,7 +259,7 @@
putc('\n', stderr);
}
-void
+static void
short_usage(void)
{
fprintf(stderr, "Usage: %s [OPTION]... INPUT [OUTPUT]\n\
@@ -267,7 +267,7 @@
program_name, program_name);
}
-void
+static void
usage(void)
{
printf("\
@@ -388,7 +388,7 @@
#define APPLESINGLE_MAGIC 0x00051600
#define APPLEDOUBLE_MAGIC 0x00051607
-const char *
+static const char *
check_appledouble(FILE *ifp)
{
int i;
@@ -400,7 +400,7 @@
return 0;
}
-const char *
+static const char *
translate_binhex(FILE *f, FILE *tmpf)
{
int i, c = 0, last_char, after_x90, bits, bitpos;
@@ -486,7 +486,7 @@
return 0;
}
-int
+static int
check_binhex_crc(FILE *f, int offset, int length)
{
int crc = 0;
@@ -501,7 +501,7 @@
return crc == 0;
}
-const char *
+static const char *
check_binhex(FILE *f)
{
int fname_len, data_len, rsrc_len, off;
|