mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
36 lines
987 B
Plaintext
36 lines
987 B
Plaintext
From ea7a698b0da9639cc6b817ffb271c5cb8bd5d42e Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Sat, 19 Aug 2023 12:25:49 +0200
|
|
Subject: Fix multiple definitions error during build
|
|
|
|
|
|
diff --git a/program/psiconv/psiconv.c b/program/psiconv/psiconv.c
|
|
index b73b901..de26cb9 100644
|
|
--- a/program/psiconv/psiconv.c
|
|
+++ b/program/psiconv/psiconv.c
|
|
@@ -44,6 +44,8 @@
|
|
#include "psiconv.h"
|
|
#include "gen.h"
|
|
|
|
+psiconv_list fileformat_list;
|
|
+
|
|
static void print_help(void);
|
|
static void print_version(void);
|
|
static void strtoupper(char *str);
|
|
diff --git a/program/psiconv/psiconv.h b/program/psiconv/psiconv.h
|
|
index 1ec0a7e..68b7dc7 100644
|
|
--- a/program/psiconv/psiconv.h
|
|
+++ b/program/psiconv/psiconv.h
|
|
@@ -52,7 +52,7 @@ typedef struct fileformat_s {
|
|
output_function *output;
|
|
} *fileformat;
|
|
|
|
-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
|
|
+extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */
|
|
|
|
|
|
#endif /* PSICONV_H */
|
|
--
|
|
2.37.3
|
|
|