File: 15-add-forward-declarations-for-functions-in-other-sour.patch

package info (click to toggle)
osdsh 0.7.0-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 568 kB
  • sloc: ansic: 1,064; tcl: 335; makefile: 69
file content (23 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Andrej Shadura <andrewsh@debian.org>
Date: Mon, 4 Jan 2021 18:34:09 +0100
Subject: Add forward declarations for functions in other source files

---
 src/osdsh/osdsh.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/osdsh/osdsh.h b/src/osdsh/osdsh.h
index 5297cce..7a518b5 100644
--- a/src/osdsh/osdsh.h
+++ b/src/osdsh/osdsh.h
@@ -47,3 +47,10 @@ typedef struct plugininfo_t {
 
 /* HACK */
 extern char mixerdevice[PATH_MAX + 1];
+
+extern void control_options(settings_t *setts, char option[2], char argument[BUFSIZ]);
+extern void set_defaults(settings_t *setts);
+extern void initialize_osd(settings_t *setts);
+extern void load_basic_plugins(void);
+extern int load_plugin(char pluginfile[255]);
+extern void *control_sh(void *arg);