summaryrefslogtreecommitdiff
path: root/sysutils/44bsd-more/files/patch-marks.c
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2011-09-09 01:16:37 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2011-09-09 01:16:37 +0000
commit4e347ced58ba2809d0631b34db81e001c577c360 (patch)
tree532e1e1d495ab6744da0c594b4c5a6320bfa4550 /sysutils/44bsd-more/files/patch-marks.c
parent- Limit emacs vulnerability to > 21.* and <= 22.2 instead of just <= 22.2 (diff)
Fix build with clang.
Diffstat (limited to 'sysutils/44bsd-more/files/patch-marks.c')
-rw-r--r--sysutils/44bsd-more/files/patch-marks.c18
1 files changed, 18 insertions, 0 deletions
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;
+ {