From: Ulrich Drepper Date: Tue, 9 Dec 1997 23:44:38 +0000 (+0000) Subject: Make sure digits_dots.c sees `resbuf' as struct and not a pointer. X-Git-Tag: cvs/glibc-2_0_6pre3~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a301c00191cc244995dd6e04a81d0c5898edceb;p=thirdparty%2Fglibc.git Make sure digits_dots.c sees `resbuf' as struct and not a pointer. Little optimizations. --- diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c index 988f46c88e6..18f0bae03aa 100644 --- a/nss/getXXbyYY_r.c +++ b/nss/getXXbyYY_r.c @@ -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)