diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-05-17 11:18:19 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-05-17 11:18:19 +0000 |
commit | 44ac37c5a5ddced95123e7ffe4ace0e81c3838ce (patch) | |
tree | a38d3f9299ca3e05de2cfb817c0349238b437fbd | |
parent | - Bump PORTEPOCH (diff) |
Fix build with clang
-rw-r--r-- | editors/gate/files/patch-spel.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/gate/files/patch-spel.c b/editors/gate/files/patch-spel.c index e04fda6d22f8..53ae7f923153 100644 --- a/editors/gate/files/patch-spel.c +++ b/editors/gate/files/patch-spel.c @@ -1,5 +1,14 @@ --- spel.c.orig 2003-06-19 16:55:51 UTC +++ spel.c +@@ -151,7 +151,7 @@ empty_repl() + /* ADD_REPL - Add the given replacement to the list of replacements. + * "replace" may be NULL to indicate that the word is to be ignored. + */ +- ++void + add_repl(char *word, int word_len, char *replace) + { + struct repl *r; @@ -683,7 +683,7 @@ int fix_word(char *line, int offset, int for(;;) { |