This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/
- From: Jim Meyering <jim at meyering dot net>
- To: libc-alpha at sourceware dot org
- Date: Sat, 04 Aug 2012 16:04:55 +0200
- Subject: [PATCH] getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/
---
This is a trivial comment typo fix.
Note the description of the "real" FUNCTION_NAME macro, above.
Ok to push?
nss/getXXbyYY_r.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c
index 8ba1e99..f296ed1 100644
--- a/nss/getXXbyYY_r.c
+++ b/nss/getXXbyYY_r.c
@@ -34,41 +34,41 @@
/*******************************************************************\
|* Here we assume several symbols to be defined: *|
|* *|
|* LOOKUP_TYPE - the return type of the function *|
|* *|
|* FUNCTION_NAME - name of the non-reentrant function *|
|* *|
|* DATABASE_NAME - name of the database the function accesses *|
|* (e.g., host, services, ...) *|
|* *|
|* ADD_PARAMS - additional parameters, can vary in number *|
|* *|
|* ADD_VARIABLES - names of additional parameters *|
|* *|
|* Optionally the following vars can be defined: *|
|* *|
|* EXTRA_PARAMS - optional parameters, can vary in number *|
|* *|
|* EXTRA_VARIABLES - names of optional parameter *|
|* *|
-|* FUNCTION_NAME - alternative name of the non-reentrant function *|
+|* FUNCTION2_NAME - alternative name of the non-reentrant function *|
|* *|
|* NEED_H_ERRNO - an extra parameter will be passed to point to *|
|* the global `h_errno' variable. *|
|* *|
|* NEED__RES - the global _res variable might be used so we *|
|* will have to initialize it if necessary *|
|* *|
|* PREPROCESS - code run before anything else *|
|* *|
|* POSTPROCESS - code run after the lookup *|
|* *|
\*******************************************************************/
/* To make the real sources a bit prettier. */
#define REENTRANT_NAME APPEND_R (FUNCTION_NAME)
#ifdef FUNCTION2_NAME
# define REENTRANT2_NAME APPEND_R (FUNCTION2_NAME)
#else
# define REENTRANT2_NAME NULL
#endif
--
1.7.12.rc1.10.g97c7934