forked from Lainports/opnsense-ports
sysutils/xen-guest-tools: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
b09cebebdf
commit
2c9682d679
2 changed files with 22 additions and 0 deletions
11
sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h
Normal file
11
sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- tools/xenstore/utils.h.orig 2019-12-17 14:23:09 UTC
|
||||
+++ tools/xenstore/utils.h
|
||||
@@ -24,7 +24,7 @@ static inline bool strends(const char *a, const char *
|
||||
void barf(const char *fmt, ...) __attribute__((noreturn));
|
||||
void barf_perror(const char *fmt, ...) __attribute__((noreturn));
|
||||
|
||||
-void (*xprintf)(const char *fmt, ...);
|
||||
+extern void (*xprintf)(const char *fmt, ...);
|
||||
|
||||
#define eprintf(_fmt, _args...) xprintf("[ERR] %s" _fmt, __FUNCTION__, ##_args)
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- tools/xenstore/xenstored_core.h.orig 2019-12-17 14:23:09 UTC
|
||||
+++ tools/xenstore/xenstored_core.h
|
||||
@@ -204,7 +204,7 @@ void finish_daemonize(void);
|
||||
/* Open a pipe for signal handling */
|
||||
void init_pipe(int reopen_log_pipe[2]);
|
||||
|
||||
-xengnttab_handle **xgt_handle;
|
||||
+extern xengnttab_handle **xgt_handle;
|
||||
|
||||
int remember_string(struct hashtable *hash, const char *str);
|
||||
|
||||
Loading…
Add table
Reference in a new issue