git: 9front

Download patch

ref: 76516ef23f1fcbb38b7e890c123dca3a93462a5a
parent: 3c69ccce1e71190a15c4a3a741728c5cce17ba86
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
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
--