Skip to content
Snippets Groups Projects
Commit 3c63a944 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Initialize globals as some linkers don't support shared, uninitialized

data segments.
parent ec170d17
Branches
Tags
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment