shithub: riscv

Download patch

ref: e77002cdab4f069cd4ba2e489f2f9bc090b09ab7
parent: 477f3ce3ea48aa34ee74fafcc782ef1a0f18ad2c
author: ftrvxmtrx <[email protected]>
date: Tue Jun 9 19:23:00 EDT 2015

freeimage(2), readcolmap(2), writecolmap(2): fix prototypes

--- a/sys/man/2/allocimage
+++ b/sys/man/2/allocimage
@@ -22,7 +22,7 @@
 Image	*allocimagemix(Display *d, ulong one, ulong three)
 .PP
 .B
-void	freeimage(Image *i)
+int	freeimage(Image *i)
 .PP
 .B
 int	nameimage(Image *i, char *name, int in)
--- a/sys/man/2/readcolmap
+++ b/sys/man/2/readcolmap
@@ -12,10 +12,10 @@
 .ta \w'\fLvoid 'u
 .PP
 .B
-int	readcolmap(Display *d, RGB *map)
+void	readcolmap(Display *d, RGB *map)
 .PP
 .B
-int	writecolmap(Display *d, RGB *map)
+void	writecolmap(Display *d, RGB *map)
 .fi
 .SH DESCRIPTION
 Colors are described by their red, green, and blue