freebsd-ports/net-mgmt/sdig/files/patch-src-output.c
Robert Clausecker 3436c34cf6 net-mgmt/sdig: Fix build with -fno-common
* Add license information
* Reformat Makefile with portfmt

PR:		259006
Approved by:	maintainer timeout (> 2 weeks)
Differential Revision:	https://reviews.freebsd.org/D32661
2021-10-28 00:54:06 +09:00

14 lines
269 B
C

--- src/output.c.orig 2010-07-27 07:31:03 UTC
+++ src/output.c
@@ -22,11 +22,6 @@
#ifdef SDIG_USE_SEMS
enum ops { UNLOCK = (int)1, LOCK = (int)(-1) };
-union semun {
- int val;
- struct semid_ds *buf;
- ushort *array;
-};
int lock = 0;
// int pad = 0;