glibc/nis
Joseph Myers c2d8f0b704 Avoid "inline" after return type in function definitions.
One group of warnings seen with -Wextra is warnings for static or
inline not at the start of a declaration (-Wold-style-declaration).

This patch fixes various such cases for inline, ensuring it comes at
the start of the declaration (after any static).  A common case of the
fix is "static inline <type> __always_inline"; the definition of
__always_inline starts with __inline, so the natural change is to
"static __always_inline <type>".  Other cases of the warning may be
harder to fix (one pattern is a function definition that gets
rewritten to be static by an including file, "#define funcname static
wrapped_funcname" or similar), but it seems worth fixing these cases
with inline anyway.

Tested for x86_64.

	* elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
	before return type, without separate inline.
	* elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
	* elf/dl-tunables.h (tunable_is_name): Likewise.
	* malloc/malloc.c (do_set_trim_threshold): Likewise.
	(do_set_top_pad): Likewise.
	(do_set_mmap_threshold): Likewise.
	(do_set_mmaps_max): Likewise.
	(do_set_mallopt_check): Likewise.
	(do_set_perturb_byte): Likewise.
	(do_set_arena_test): Likewise.
	(do_set_arena_max): Likewise.
	(do_set_tcache_max): Likewise.
	(do_set_tcache_count): Likewise.
	(do_set_tcache_unsorted_limit): Likewise.
	* nis/nis_subr.c (count_dots): Likewise.
	* nptl/allocatestack.c (advise_stack_range): Likewise.
	* sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
	(do_sin): Likewise.
	(reduce_sincos): Likewise.
	(do_sincos): Likewise.
	* sysdeps/unix/sysv/linux/x86/elision-conf.c
	(do_set_elision_enable): Likewise.
	(TUNABLE_CALLBACK_FNDECL): Likewise.
2019-02-06 17:16:43 +00:00
..
nss_nis Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_nisplus Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rpcsvc Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Depend Update. 1998-11-30 16:42:19 +00:00
libnsl.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_add.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_addmember.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_call.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_callback.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_checkpoint.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_clone_dir.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_clone_obj.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_clone_res.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_creategroup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_defaults.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_destroygroup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_domain_of_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_domain_of.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_error.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_error.h * nis/nis_error.c: Remove table of strings. Use position 2006-05-11 20:29:20 +00:00
nis_file.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_findserv.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_free.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_getservlist.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_hash.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_intern.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_ismember.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_local_names.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_mkdir.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_modify.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_ping.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_print_group_entry.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_print.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_remove.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_removemember.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_rmdir.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_server.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_subr.c Avoid "inline" after return type in function definitions. 2019-02-06 17:16:43 +00:00
nis_table.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_util.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_verifygroup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_xdr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nis_xdr.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nisplus-parser.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss Implement new mode for NIS passwd.adjunct.byname table. 2010-04-07 07:37:39 -07:00
nss-default.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss-nis.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss-nis.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss-nisplus.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss-nisplus.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions Move nss_compat from nis to nss subdir and install it unconditionally 2017-10-04 14:20:48 +02:00
yp_xdr.c libnsl: Turn remaining symbols into compat symbols [BZ #22701] 2018-01-29 17:42:30 +01:00
ypclnt.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ypupdate_xdr.c Include shlib-compat.h in many sunrpc/nis source files. 2017-06-04 11:31:28 -04:00