Fix typo.
[kopensolaris-gnu/glibc.git] / nss / nsswitch.c
index 16cf0e8..7dd3e05 100644 (file)
@@ -426,13 +426,13 @@ nss_lookup_function (service_user *ni, const char *fct_name)
            extern void _nss_##h##_get##nm##_r (void);
 # define DEFINE_GETBY(h,nm,ky)                                               \
            extern void _nss_##h##_get##nm##by##ky##_r (void);
-# include "functions.def"
+# include "function.def"
 # undef DEFINE_ENT
 # undef DEFINE_GET
 # undef DEFINE_GETBY
 # define DEFINE_ENT(h,nm)                                                    \
-           { #h"_get"#nm"ent_r", _nss_##h##_get##nm##ent_r },        \
-           { #h"_end"#nm"ent", _nss_##h##_end##nm##ent },            \
+           { #h"_get"#nm"ent_r", _nss_##h##_get##nm##ent_r },                \
+           { #h"_end"#nm"ent", _nss_##h##_end##nm##ent },                    \
            { #h"_set"#nm"ent", _nss_##h##_set##nm##ent },
 # define DEFINE_GET(h,nm)                                                    \
            { #h"_get"#nm"_r", _nss_##h##_get##nm##_r },
@@ -440,7 +440,7 @@ nss_lookup_function (service_user *ni, const char *fct_name)
            { #h"_get"#nm"by"#ky"_r", _nss_##h##_get##nm##by##ky##_r },
            static struct fct_tbl { const char *fname; void *fp; } *tp, tbl[] =
              {
-# include "functions.def"
+# include "function.def"
                { NULL, NULL }
              };
            size_t namlen = (5 + strlen (ni->library->name) + 1