summaryrefslogtreecommitdiff
path: root/stubs.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-08-02 13:16:44 -0400
committerJakob Kaivo <jkk@ung.org>2019-08-02 13:16:44 -0400
commit94375bb322851a501f96814140916158120997d4 (patch)
tree18fd1aa53be38764f984e663f37e25c703b91999 /stubs.c
parent61e4c607d2e0514683a8b2a9e7667e85e2b53780 (diff)
compile cleanly with more warnings enabled
Diffstat (limited to 'stubs.c')
-rw-r--r--stubs.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/stubs.c b/stubs.c
index bf6e626..e3793d4 100644
--- a/stubs.c
+++ b/stubs.c
@@ -19,17 +19,17 @@
#include "ed.h"
-void ed_delete(intmax_t start, intmax_t end, const char *arg) { }
+void ed_delete(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
-void ed_join(intmax_t start, intmax_t end, const char *arg) { }
-void ed_mark(intmax_t start, intmax_t end, const char *arg) { }
-void ed_list(intmax_t start, intmax_t end, const char *arg) { }
-void ed_move(intmax_t start, intmax_t end, const char *arg) { }
-void ed_number(intmax_t start, intmax_t end, const char *arg) { }
+void ed_join(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_mark(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_list(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_move(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_number(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
-void ed_copy(intmax_t start, intmax_t end, const char *arg) { }
-void ed_undo(intmax_t start, intmax_t end, const char *arg) { }
+void ed_copy(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_undo(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
-void ed_line_number(intmax_t start, intmax_t end, const char *arg) { }
-void ed_shell_escape(intmax_t start, intmax_t end, const char *arg) { }
-void ed_null(intmax_t start, intmax_t end, const char *arg) { }
+void ed_line_number(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_shell_escape(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }
+void ed_null(intmax_t start, intmax_t end, const char *arg) { (void)start; (void)end; (void)arg; }