that don't deal with common blocks in libraries.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11339
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Apr 1 19:11:50 1999 Tom Yu <tlyu@mit.edu>
+
+ * rpc_commondata.c: Add initializers to prevent lossage on systems
+ that don't deal with common blocks in libraries.
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
#include <gssrpc/rpc.h>
/*
* This file should only contain common data (global data) that is exported
- * by public interfaces
+ * by public interfaces.
+ *
+ * Actually initialized to prevent creation of common blocks, which
+ * can be problematic on some architectures.
*/
-struct opaque_auth _null_auth;
+struct opaque_auth _null_auth = {0};
#ifdef FD_SETSIZE
-fd_set svc_fdset;
+fd_set svc_fdset = {0};
#else
-int svc_fds;
+int svc_fds = 0;
#endif /* def FD_SETSIZE */
-struct rpc_createerr rpc_createerr;
+struct rpc_createerr rpc_createerr = {0};