summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2018-04-05 11:07:03 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2018-04-06 00:18:33 +0200
commit9b5a5ed22808c51359f3e8959edb133c521a850a (patch)
tree52c019cda7c1ba2bddbab323f36f6a7d59392c7c /src/mark.c
parentaf7e07f9707ada71d5578d39e5be62f5543205c5 (diff)
downloadscreen-9b5a5ed22808c51359f3e8959edb133c521a850a.tar.gz
fix non-ANSI function declarations
as per sparse warnings: warning: non-ANSI function declaration of function '...'
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mark.c b/src/mark.c
index 05f47cd..c1c93a7 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -372,7 +372,7 @@ static bool eq(int a, int b)
/**********************************************************************/
-int GetHistory()
+int GetHistory(void)
{ /* return value 1 if copybuffer changed */
int i = 0, q = 0, xx, yy, x, y;
uint32_t *linep;
@@ -413,7 +413,7 @@ int GetHistory()
/**********************************************************************/
-void MarkRoutine()
+void MarkRoutine(void)
{
int x, y;
@@ -1115,7 +1115,7 @@ void revto_line(int tx, int ty, int line)
LGotoPos(flayer, tx, W2D(ty));
}
-static void MarkAbort()
+static void MarkAbort(void)
{
int yend, redisp;