]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make sure digits_dots.c sees `resbuf' as struct and not a pointer.
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:44:38 +0000 (23:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:44:38 +0000 (23:44 +0000)
Little optimizations.

nss/getXXbyYY_r.c

index 988f46c88e6f8f1055339e896e9d079899ec29e5..18f0bae03aa4a7924ab4df5a73f32e753c4af75c 100644 (file)
@@ -94,7 +94,9 @@ INTERNAL (REENTRANT_NAME) (ADD_PARAMS, LOOKUP_TYPE *resbuf, char *buffer,
   enum nss_status status = NSS_STATUS_UNAVAIL;
 
 #ifdef HANDLE_DIGITS_DOTS
+# define resbuf (*resbuf)
 # include "digits_dots.c"
+# undef resbuf
 #endif
 
   if (startp == NULL)