openbsd-ports/archivers/ha/patches/patch-ab
brad 88b6e1ee18 - cleanup Makefile
- convert patches to unified diffs
- make this port respect CFLAGS
1999-12-15 22:32:10 +00:00

29 lines
716 B
Plaintext

--- c/hsc.c.orig Thu Jan 12 01:51:16 1995
+++ c/hsc.c Wed Dec 15 17:17:58 1999
@@ -19,7 +19,6 @@
HA HSC method
***********************************************************************/
-#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include "ha.h"
@@ -486,7 +485,7 @@
register U16B c;
register U16B tv;
register U16B i;
- register S16B sum,tot,esc,cf;
+ register S16B sum,tot,esc,cf = 0;
register unsigned char sv;
esc=adj_escape_prob(fe[cp],cp);
@@ -546,7 +545,7 @@
register U16B c;
register U16B tv;
register U16B i;
- register S16B sum,tot,esc,cf;
+ register S16B sum,tot,esc,cf = 0;
esc=tot=0;
for (i=cp;i!=NIL;i=nb[i]) {