]> git.ipfire.org Git - thirdparty/krb5.git/commit
Eliminate use of the 'register' keyword 797/head
authorThomas Sondergaard <tsondergaard@vitalimages.com>
Sat, 16 Jun 2018 16:14:50 +0000 (18:14 +0200)
committerGreg Hudson <ghudson@mit.edu>
Mon, 18 Jun 2018 17:17:31 +0000 (13:17 -0400)
commitbeeb2828945a41d86488e391ce440bacee0ec8a4
treee7a2d7c7249365c331bc1887ce46c331a2d5b302
parent80ea4fe833c72e3be47509a3216eee726c5fdb26
Eliminate use of the 'register' keyword

'register' is a reserved and unused keyword in C++17 so having it
present in the public headers presents a a compatibility issue. Also
in C the 'register' keyword is mostly obsolete, so remove all uses of
it.

[ghudson@mit.edu: adjusted style of some of the affected lines]
93 files changed:
src/appl/user_user/client.c
src/clients/ksu/main.c
src/clients/ksu/setenv.c
src/include/gssrpc/clnt.h
src/include/krb5/krb5.hin
src/kadmin/cli/getdate.y
src/kadmin/dbutil/strtok.c
src/kadmin/server/ipropd_svc.c
src/kadmin/server/kadm_rpc_svc.c
src/kdc/kdc_util.c
src/kdc/tgs_policy.c
src/lib/apputils/net-server.c
src/lib/crypto/builtin/des/destest.c
src/lib/crypto/builtin/des/doc/libdes.doc
src/lib/crypto/builtin/des/f_cksum.c
src/lib/crypto/builtin/des/f_sched.c
src/lib/crypto/builtin/des/f_tables.h
src/lib/crypto/builtin/des/t_verify.c
src/lib/crypto/builtin/md4/md4.c
src/lib/crypto/builtin/md5/md5.c
src/lib/crypto/krb/crc32.c
src/lib/crypto/krb/keyblocks.c
src/lib/kdb/iprop_xdr.c
src/lib/krb5/ccache/cc_mslsa.c
src/lib/krb5/ccache/ccapi/stdcc_util.c
src/lib/krb5/keytab/kt_file.c
src/lib/krb5/krb/addr_order.c
src/lib/krb5/krb/authdata.c
src/lib/krb5/krb/conv_princ.c
src/lib/krb5/krb/copy_addrs.c
src/lib/krb5/krb/copy_auth.c
src/lib/krb5/krb/copy_princ.c
src/lib/krb5/krb/decrypt_tk.c
src/lib/krb5/krb/encrypt_tk.c
src/lib/krb5/krb/kfree.c
src/lib/krb5/krb/pr_to_salt.c
src/lib/krb5/krb/unparse.c
src/lib/krb5/krb/walk_rtree.c
src/lib/krb5/os/full_ipadr.c
src/lib/krb5/os/mk_faddr.c
src/lib/krb5/os/net_read.c
src/lib/krb5/os/port2ip.c
src/lib/krb5/os/timeofday.c
src/lib/rpc/auth_none.c
src/lib/rpc/auth_unix.c
src/lib/rpc/authunix_prot.c
src/lib/rpc/clnt_raw.c
src/lib/rpc/clnt_simple.c
src/lib/rpc/clnt_tcp.c
src/lib/rpc/clnt_udp.c
src/lib/rpc/getrpcent.c
src/lib/rpc/pmap_clnt.c
src/lib/rpc/pmap_getmaps.c
src/lib/rpc/pmap_getport.c
src/lib/rpc/pmap_prot2.c
src/lib/rpc/pmap_rmt.c
src/lib/rpc/rpc_callmsg.c
src/lib/rpc/svc.c
src/lib/rpc/svc_auth.c
src/lib/rpc/svc_auth_gssapi.c
src/lib/rpc/svc_auth_unix.c
src/lib/rpc/svc_raw.c
src/lib/rpc/svc_tcp.c
src/lib/rpc/svc_udp.c
src/lib/rpc/unit-test/rpc_test_svc.c
src/lib/rpc/unit-test/server.c
src/lib/rpc/xdr.c
src/lib/rpc/xdr_alloc.c
src/lib/rpc/xdr_array.c
src/lib/rpc/xdr_float.c
src/lib/rpc/xdr_mem.c
src/lib/rpc/xdr_rec.c
src/lib/rpc/xdr_reference.c
src/plugins/kdb/db2/libdb2/btree/bt_utils.c
src/plugins/kdb/db2/libdb2/recno/rec_search.c
src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
src/plugins/kdb/db2/libdb2/test/dbtest.c
src/util/profile/profile_tcl.c
src/util/ss/cmd_tbl.lex.l
src/util/ss/error.c
src/util/ss/execute_cmd.c
src/util/ss/help.c
src/util/ss/invocation.c
src/util/ss/list_rqs.c
src/util/ss/listen.c
src/util/ss/options.c
src/util/ss/pager.c
src/util/ss/parse.c
src/util/ss/request_tbl.c
src/util/ss/requests.c
src/util/ss/utils.c
src/util/support/mkstemp.c
src/windows/leashdll/timesync.c