summaryrefslogtreecommitdiff
path: root/app-text/psiconv/files/psiconv-0.8.3-gcc10-fno-common.patch
blob: 4c21a6ed3d4a66cb4e2fa5eb986291210e8c2c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/program/psiconv/psiconv.c
+++ b/program/psiconv/psiconv.c
@@ -41,6 +41,8 @@
 #include "gen.h"
 #include "psiconv.h"
 
+psiconv_list fileformat_list;
+
 static void print_help(void);
 static void print_version(void);
 static void strtoupper(char *str);
--- a/program/psiconv/psiconv.h
+++ b/program/psiconv/psiconv.h
@@ -31,6 +31,6 @@
   output_function *output;
 } *psiconv_fileformat;
 
-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
+extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */
 
 #endif /* PSICONV_GEN_H */