ports/editors/hnb/files/patch-src_ui__draw.c
Santhosh Raju 30080fd316 editors/hnb: Fixes build on HEAD.
Makes the globals used within the file to be static to prevent duplicate
symbol while linking.
2020-08-25 15:55:25 +00:00

17 lines
372 B
C

Make sure the globals in the file are static to prevent duplicate symbol during
linking.
--- src/ui_draw.c.orig 2020-08-25 00:53:47 UTC
+++ src/ui_draw.c
@@ -39,9 +39,9 @@
#define KEEPLINES 5
-int nodes_above;
-int active_line;
-int nodes_below;
+static int nodes_above;
+static int active_line;
+static int nodes_below;
static Node *up (Node *sel, Node *node)
{