nixpkgs/pkgs/tools/misc/bdfresize/remove-malloc-declaration.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
279 B
Diff
Raw Normal View History

2022-05-04 21:49:16 +00:00
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;