summaryrefslogtreecommitdiff
path: root/progs/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/clear.c')
-rw-r--r--progs/clear.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/clear.c b/progs/clear.c
index 97cb0f3651de..e0de8ce47b73 100644
--- a/progs/clear.c
+++ b/progs/clear.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright 2020,2021 Thomas E. Dickey *
+ * Copyright 2020-2021,2024 Thomas E. Dickey *
* Copyright 1998-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@@ -41,7 +41,7 @@
#include <clear_cmd.h>
#include <tty_settings.h>
-MODULE_ID("$Id: clear.c,v 1.24 2021/03/20 18:23:14 tom Exp $")
+MODULE_ID("$Id: clear.c,v 1.25 2024/10/19 22:00:53 tom Exp $")
const char *_nc_progname = "clear";
@@ -71,7 +71,7 @@ main(
TTY tty_settings;
int fd;
int c;
- char *term;
+ NCURSES_CONST char *term;
bool opt_x = FALSE; /* clear scrollback if possible */
_nc_progname = _nc_rootname(argv[0]);