Skip to content
Snippets Groups Projects
Commit a081e7b8 authored by Jan Beich's avatar Jan Beich
Browse files

x11-clocks/wlclock: unbreak build with clang 15

../src/output.c:22:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static void noop () {}
                 ^
                  void
../src/wlclock.c:578:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static void clock_run ()
                      ^
                       void

Reported by:	pkg-fallout
parent d9ead0ea
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo
CFLAGS+= -Wno-error=strict-prototypes # https://lists.sr.ht/~leon_plickat/public-inbox/%3Cttzs-maz0-wny%40FreeBSD.org%3E
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= MANPAGES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment