summary refs log tree commit diff
diff options
context:
space:
mode:
-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);