summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index 8573a92..e173f74 100644
--- a/io.c
+++ b/io.c
@@ -63,6 +63,7 @@ void ed_Edit(intmax_t start, intmax_t end, const char *arg)
void ed_print(intmax_t start, intmax_t end, const char *arg)
{
+ (void)start; (void)end; (void)arg;
fputs(ed_state.current->text, stdout);
}
@@ -77,11 +78,13 @@ void ed_quit(intmax_t start, intmax_t end, const char *arg)
void ed_Quit(intmax_t start, intmax_t end, const char *arg)
{
+ (void)start; (void)end; (void)arg;
exit(0);
}
void ed_read(intmax_t start, intmax_t end, const char *arg)
{
+ (void)start; (void)end;
intmax_t total = 0;
FILE *f = NULL;
@@ -133,6 +136,7 @@ void ed_read(intmax_t start, intmax_t end, const char *arg)
void ed_write(intmax_t start, intmax_t end, const char *arg)
{
+ (void)start; (void)end;
intmax_t total = 0;
FILE *f = NULL;