mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
This port is the older version of bsmtrace and should go away in due time, but it's easy enough to backport the fix in the meantime. This version did need an additional fix to log.{c,h} that was no longer needed in 3.x. PR: 248756 Approved by: csjp (maintainer, also discussed with) MFH: 2020Q3 (-fno-common build fix)
17 lines
486 B
C
17 lines
486 B
C
--- bsmtrace.h.orig 2014-02-05 02:34:38 UTC
|
|
+++ bsmtrace.h
|
|
@@ -38,11 +38,11 @@ int audit_pipe_fd; /* XXX not happy abou
|
|
char *pflag;
|
|
};
|
|
|
|
-struct g_conf opts;
|
|
-int audit_pipe_fd; /* XXX not happy about this global */
|
|
+extern struct g_conf opts;
|
|
+extern int audit_pipe_fd; /* XXX not happy about this global */
|
|
|
|
void bsmtrace_error(int, char *, ...);
|
|
void bsmtrace_exit(int);
|
|
-void dprintf(char *, ...);
|
|
+void d_printf(char *, ...);
|
|
void usage(char *);
|
|
#endif /* BSM_TRACE_H_ */
|