diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-20 10:34:54 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-20 10:34:54 +0000 |
commit | 0b1d28513edf41b3c93cd1749ad0f86c63a0c79b (patch) | |
tree | b8c096081d7de143029a51aa07a2006f6e884d3e /palm/palmpower | |
parent | Respect CC and fix build on -current (expr -> expr --) (diff) |
Fix build on -current (initialize FILE* variables in main() instead of
at declaration)
Diffstat (limited to 'palm/palmpower')
-rw-r--r-- | palm/palmpower/files/patch-aa | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/palm/palmpower/files/patch-aa b/palm/palmpower/files/patch-aa new file mode 100644 index 000000000000..0d034e9ec3d5 --- /dev/null +++ b/palm/palmpower/files/patch-aa @@ -0,0 +1,29 @@ +--- utils/splitprc.c~ Wed Feb 7 13:58:34 2001 ++++ utils/splitprc.c Sun Oct 20 03:34:32 2002 +@@ -73,10 +73,10 @@ + char bmap_file[256]; + + FILE *ifp; +-FILE *ofp = stdout; +-FILE *hfp = NULL; +-FILE *cfp = NULL; +-FILE *rfp = NULL; ++FILE *ofp; ++FILE *hfp; ++FILE *cfp; ++FILE *rfp; + + + struct res_type { +@@ -970,6 +970,11 @@ + { + char asc[20]; + int c, bytectr, linectr, ctr; ++ ++ ofp = stdout; ++ hfp = NULL; ++ cfp = NULL; ++ rfp = NULL; + + progname = argv[0]; + hdr_file[0] = '\0'; |