summary refs log tree commit diff
path: root/pkgs/tools/misc/bdfresize/remove-malloc-declaration.patch
blob: c58888a4be2de2161a8d5ea318e2175e02d9657c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Remove an unneeded declaration of malloc so gcc doesn't complain.
--- a/charresize.c
+++ b/charresize.c
@@ -46,7 +46,6 @@ static int	bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
 void
 processChar(void)
 {
-  char	*malloc();
   char	*srcimage;
   int	*dstgray;