]> git.sur5r.net Git - openldap/commitdiff
Initialize globals as some linkers don't support shared, uninitialized
authorKurt Zeilenga <kurt@openldap.org>
Mon, 2 Oct 2000 17:53:50 +0000 (17:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 2 Oct 2000 17:53:50 +0000 (17:53 +0000)
data segments.

libraries/liblber/bprint.c

index f8794e8558816ce70b81db860c7eb5fac770c326..df1be029da18cf5fc71631e45ea8c572e71c1e4c 100644 (file)
  * 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)
 {