shithub: riscv

Download patch

ref: 86acce7c4df8929fa28b346935d840470b190b17
parent: 72a168b5fb1d3b40bf6c8051d06d7237f27a7d2b
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
date: Tue Jun 9 08:29:57 EDT 2015

esetcursor(2), alarm(2): fix prototypes

--- a/sys/man/2/event
+++ b/sys/man/2/event
@@ -73,7 +73,7 @@
 int	emoveto(Point p)
 .PP
 .B
-int	esetcursor(Cursor *c)
+void	esetcursor(Cursor *c)
 .PP
 .B
 int	eenter(char *ask, char *buf, int len, Mouse *m)
--- a/sys/man/2/sleep
+++ b/sys/man/2/sleep
@@ -10,7 +10,7 @@
 int sleep(long millisecs)
 .PP
 .B
-long alarm(unsigned long millisecs)
+long alarm(ulong millisecs)
 .SH DESCRIPTION
 .I Sleep
 suspends the current process for the number