17 lines
599 B
Text
17 lines
599 B
Text
From 084126b03f29b33ab3e657c66e8c6a439f27f8e1 Mon Sep 17 00:00:00 2001
|
|
From: Harald Geyer <harald@ccbib.org>
|
|
Date: Mon, 10 Feb 2020 13:15:10 +0100
|
|
Subject: [PATCH] Fix compilation with GCC >= 10.x
|
|
|
|
Index: clients/lcdproc/iface.h
|
|
--- clients/lcdproc/iface.h.orig
|
|
+++ clients/lcdproc/iface.h
|
|
@@ -18,7 +18,7 @@
|
|
/** max number of interfaces in multi-interface mode */
|
|
#define MAX_INTERFACES 3
|
|
|
|
-IfaceInfo iface[MAX_INTERFACES]; /* interface info */
|
|
+extern IfaceInfo iface[MAX_INTERFACES]; /* interface info */
|
|
|
|
/** Update screen content */
|
|
int iface_screen(int rep, int display, int *flags_ptr);
|