Only system headers should declare errno
authorSam Hartman <hartmans@mit.edu>
Sun, 5 Jan 2003 23:28:05 +0000 (23:28 +0000)
committerSam Hartman <hartmans@mit.edu>
Sun, 5 Jan 2003 23:28:05 +0000 (23:28 +0000)
commit8b090d247a059021fb84c6962a43e91d2e4ab964
tree2c589e72f112e062181992474d1c4b62ec44ca17
parent90d160520f5bce129c9a3ea1f22370a740e11136
Only system headers should declare errno

Many parts of krb5 declare errno in source files using extern int
errno.  This has not been needed in ANSI C for a long time,
and actively breaks modern versions of glibc.

So these declarations are removed and errno.h included where necessary.

Ticket: new
Component: krb5-build

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
30 files changed:
src/appl/bsd/ChangeLog
src/appl/bsd/login.c
src/kadmin/v4server/ChangeLog
src/kadmin/v4server/acl_files.c
src/kadmin/v4server/admin_server.c
src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/adb_policy.c
src/lib/kadm5/srv/server_dict.c
src/lib/krb4/ChangeLog
src/lib/krb4/dest_tkt.c
src/lib/krb4/tf_util.c
src/lib/krb5/posix/ChangeLog
src/lib/krb5/posix/syslog.c
src/lib/rpc/ChangeLog
src/lib/rpc/clnt_udp.c
src/lib/rpc/pmap_getmaps.c
src/lib/rpc/pmap_rmt.c
src/lib/rpc/svc_auth_gssapi.c
src/lib/rpc/svc_run.c
src/lib/rpc/svc_udp.c
src/tests/dejagnu/ChangeLog
src/tests/dejagnu/t_inetd.c
src/util/db2/ChangeLog
src/util/db2/clib/mkstemp.c
src/util/db2/test/ChangeLog
src/util/db2/test/Makefile
src/util/db2/test/SEQ_TEST/t.c
src/util/ss/ChangeLog
src/util/ss/help.c
src/util/ss/pager.c