aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-28 16:30:20 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-28 16:30:20 +0000
commit1cd4f3c78b9de0e370c02ffb28bc1eb155f1dbcc (patch)
treea80413721cfcedd854a7c3156e111988b2f6ad16
parent4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4 (diff)
downloadglibc-1cd4f3c78b9de0e370c02ffb28bc1eb155f1dbcc.tar
glibc-1cd4f3c78b9de0e370c02ffb28bc1eb155f1dbcc.tar.gz
glibc-1cd4f3c78b9de0e370c02ffb28bc1eb155f1dbcc.tar.bz2
glibc-1cd4f3c78b9de0e370c02ffb28bc1eb155f1dbcc.zip
* nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.
-rw-r--r--ChangeLog4
-rw-r--r--nis/nis_xdr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b88a76650..036483b46f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-28 Ulrich Drepper <drepper@redhat.com>
+
+ * nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.
+
2005-07-28 Jakub Jelinek <jakub@redhat.com>
* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
diff --git a/nis/nis_xdr.c b/nis/nis_xdr.c
index 5599b5505c..820103b6e9 100644
--- a/nis/nis_xdr.c
+++ b/nis/nis_xdr.c
@@ -41,13 +41,13 @@ _xdr_nis_name (XDR *xdrs, nis_name *objp)
return xdr_string (xdrs, objp, ~0);
}
-static bool_t
+static __always_inline bool_t
xdr_zotypes (XDR *xdrs, zotypes *objp)
{
return xdr_enum (xdrs, (enum_t *) objp);
}
-static bool_t
+static __always_inline bool_t
xdr_nstype (XDR *xdrs, nstype *objp)
{
return xdr_enum (xdrs, (enum_t *) objp);