on a NetBSD 11.99.5 host (amd64) I am getting a reproducible build
failure. The first error is
xglock.c:170:1: error: conflicting types for 'secured_malloc'; have 'void
*(gulong)' {aka 'void *(long unsigned int)'}
170 | secured_malloc(gulong sz)
| ^~~~~~~~~~~~~~
xglock.c:117:23: note: previous declaration of 'secured_malloc' with type
'void*(void)'
117 | static void *__PROTO( secured_malloc, (size_t) );
| ^~~~~~~~~~~~~~
xglock.c:112:33: note: in definition of macro '__PROTO'
112 | # define __PROTO( name, args ) name ()
| ^~~~
|
The entire build log is attached.
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost |
| & Network Engineer | | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+