1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/x11/libsx/files/patch-freq-main.c
Tilman Keskinoz 0475e97eee Fix build with clang
PR:		158554
Submitted by:	Niclas Zeising
2011-07-14 15:44:34 +00:00

12 lines
352 B
C

--- freq/main.c.orig 2011-07-01 09:36:39.000000000 +0200
+++ freq/main.c 2011-07-01 09:36:50.000000000 +0200
@@ -23,7 +23,7 @@
void quit(Widget w, void *data);
void load(Widget w, void *data);
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
argc = init_display(argc, argv, NULL); /* setup the display */
if (argc == 0)