about summary refs log tree commit diff
path: root/nis/nss
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-03-28 09:48:42 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-04-24 09:30:56 -0300
commit9581e76dbb4a8dad8a4493ef6833685153edd1d9 (patch)
tree1922d32e72542a25d59be00a3c483f8bda429972 /nis/nss
parent5ea9ce3749007348a8d12e8eef9e0ccc6fd90aec (diff)
downloadglibc-9581e76dbb4a8dad8a4493ef6833685153edd1d9.tar.gz
glibc-9581e76dbb4a8dad8a4493ef6833685153edd1d9.tar.xz
glibc-9581e76dbb4a8dad8a4493ef6833685153edd1d9.zip
Macroize function declarations in math_private.h
This patch moves the declaration of many floating-point functions from
math_private.h to math_private_calls.h and macroize the declaration to
be dependent on floating-point type.  For each of float, double, and
long double, the new header file is included once.  This reduces the
amount of repetitive boilerplate that will be required when adding
float128 versions of these functions.

Tested for powerpc64le and s390x.

	* sysdeps/generic/math_private.h: Move the declaration of many
	functions to sysdeps/generic/math_private_calls.h.
	* sysdeps/generic/math_private_calls.h: New file with the
	declarations of the functions removed from math_private.h
	macroized by floating-point type.
Diffstat (limited to 'nis/nss')
0 files changed, 0 insertions, 0 deletions