freebsd-ports/misc/xd/files/patch-xd.c
Martin Wilke 4c8a37671a - Fix build with clang
PR:		175044
Submitted by:	ports fury
2013-02-07 14:32:00 +00:00

11 lines
274 B
C

--- xd.c.orig 1996-08-27 02:23:22.000000000 +0900
+++ xd.c 2012-10-24 05:56:31.000000000 +0900
@@ -392,7 +392,7 @@
*
*/
#define ISFILE(str) (*(str) != '-' || *((str) + 1) == '\0')
-void
+int
main(int argc, char *argv[])
{
int i, nf = 0, show_usage = FALSE, result;