File: 0009-Bring-main_loop-declaration-into-tfio.c.patch

package info (click to toggle)
tf5 5.0beta8-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 3,736 kB
  • sloc: ansic: 25,484; perl: 103; makefile: 82; sh: 79
file content (23 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Russ Allbery <rra@debian.org>
Date: Sat, 26 Dec 2020 13:11:57 -0800
Subject: Bring main_loop declaration into tfio.c

src/tfio.c calls main_loop() but didn't include the header file
that declares it, resulting in a build log scanner warning from
Debian.  Add the missing include.
---
 src/tfio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tfio.c b/src/tfio.c
index 151583e..31ca1ae 100644
--- a/src/tfio.c
+++ b/src/tfio.c
@@ -46,6 +46,7 @@ static const char RCSid[] = "$Id: tfio.c,v 35004.114 2007/01/13 23:12:39 kkeys E
 #include "keyboard.h"	/* keyboard_pos */
 #include "expand.h"	/* current_command */
 #include "cmdlist.h"
+#include "socket.h"	/* main_loop() */
 
 TFILE *loadfile = NULL; /* currently /load'ing file */
 int loadline = 0;       /* line number in /load'ing file */