From 4e347ced58ba2809d0631b34db81e001c577c360 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 9 Sep 2011 01:16:37 +0000 Subject: Fix build with clang. --- sysutils/44bsd-more/files/patch-marks.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sysutils/44bsd-more/files/patch-marks.c (limited to 'sysutils/44bsd-more/files/patch-marks.c') diff --git a/sysutils/44bsd-more/files/patch-marks.c b/sysutils/44bsd-more/files/patch-marks.c new file mode 100644 index 000000000000..9878ff5b832e --- /dev/null +++ b/sysutils/44bsd-more/files/patch-marks.c @@ -0,0 +1,18 @@ +--- marks.c.orig 2011-09-08 01:18:08.000000000 +0800 ++++ marks.c 2011-09-08 01:18:34.000000000 +0800 +@@ -129,6 +129,7 @@ badmark(c) + /* + * Set a bookmark. + */ ++void + setmark(c) + int c; /* user identifier for bookmark to set */ + { +@@ -318,6 +319,7 @@ fprintf_error: + /* + * Go to a previously set mark. + */ ++void + gomark(c) + int c; + { -- cgit v1.2.3