From 3c63a944ebe70c4b3cbf65661539df7df2d1ce0c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 2 Oct 2000 17:53:50 +0000 Subject: [PATCH] Initialize globals as some linkers don't support shared, uninitialized data segments. --- libraries/liblber/bprint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblber/bprint.c b/libraries/liblber/bprint.c index f8794e8558..df1be029da 100644 --- a/libraries/liblber/bprint.c +++ b/libraries/liblber/bprint.c @@ -21,12 +21,12 @@ * we set ber_pvt_err_file to stderr later, when it first gets * referenced. */ -FILE *ber_pvt_err_file; +FILE *ber_pvt_err_file = NULL; /* * ber errno */ -BER_ERRNO_FN ber_int_errno_fn; +BER_ERRNO_FN ber_int_errno_fn = NULL; int * ber_errno_addr(void) { -- 2.39.5