summaryrefslogtreecommitdiffstats
path: root/snake/snake/snake.h
diff options
context:
space:
mode:
Diffstat (limited to 'snake/snake/snake.h')
-rw-r--r--snake/snake/snake.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/snake/snake/snake.h b/snake/snake/snake.h
index 1952385d..0199ff52 100644
--- a/snake/snake/snake.h
+++ b/snake/snake/snake.h
@@ -1,4 +1,4 @@
-/* $NetBSD: snake.h,v 1.11 1999/08/14 16:38:46 tron Exp $ */
+/* $NetBSD: snake.h,v 1.12 1999/09/08 21:18:00 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -81,10 +81,10 @@ struct termios orig, new;
#define same(s1, s2) ((s1)->line == (s2)->line && (s1)->col == (s2)->col)
-void apr __P((struct point *, const char *, ...));
+void apr __P((const struct point *, const char *, ...));
void bs __P((void));
void chase __P((struct point *, struct point *));
-int chk __P((struct point *));
+int chk __P((const struct point *));
void clear __P((void));
void cook __P((void));
void cr __P((void));
@@ -94,7 +94,7 @@ void down __P((void));
void drawbox __P((void));
void flushi __P((void));
void getcap __P((void));
-void gto __P((struct point *));
+void gto __P((const struct point *));
void home __P((void));
void length __P((int));
void ll __P((void));
@@ -104,25 +104,23 @@ void move __P((struct point *));
void nd __P((void));
void outch __P((int));
void pch __P((int));
-void pchar __P((struct point *, char));
+void pchar __P((const struct point *, char));
struct point *point __P((struct point *, int, int));
int post __P((int, int));
void pr __P((const char *, ...));
void pstring __P((const char *));
int pushsnake __P((void));
-void putpad __P((char *));
+void putpad __P((const char *));
void raw __P((void));
-void right __P((struct point *));
+void right __P((const struct point *));
void setup __P((void));
void snap __P((void));
-void snap __P((void));
void snrand __P((struct point *));
void spacewarp __P((int));
void stop __P((int)) __attribute__((__noreturn__));
-int stretch __P((struct point *));
-int stretch __P((struct point *));
+int stretch __P((const struct point *));
void surround __P((struct point *));
void suspend __P((void));
void up __P((void));
-void win __P((struct point *));
+void win __P((const struct point *));
void winnings __P((int));