Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/include/nsswitch.h,v rcsdiff: /ftp/cvs/cvsroot/src/include/nsswitch.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.22 retrieving revision 1.23 diff -u -p -r1.22 -r1.23 --- src/include/nsswitch.h 2016/01/22 21:55:57 1.22 +++ src/include/nsswitch.h 2016/01/23 01:26:14 1.23 @@ -1,4 +1,4 @@ -/* $NetBSD: nsswitch.h,v 1.22 2016/01/22 21:55:57 dholland Exp $ */ +/* $NetBSD: nsswitch.h,v 1.23 2016/01/23 01:26:14 dholland Exp $ */ /*- * Copyright (c) 1997, 1998, 1999, 2004 The NetBSD Foundation, Inc. @@ -175,8 +175,8 @@ typedef struct { * nss_module_unregister_fn - module un-registration function * called at module unload */ -typedef void (*nss_module_unregister_fn)(ns_mtab *, unsigned); -typedef ns_mtab *(*nss_module_register_fn)(const char *, unsigned *, +typedef void (*nss_module_unregister_fn)(ns_mtab *, unsigned int); +typedef ns_mtab *(*nss_module_register_fn)(const char *, unsigned int *, nss_module_unregister_fn *); #ifdef _NS_PRIVATE @@ -193,7 +193,7 @@ typedef ns_mtab *(*nss_module_register_f typedef struct { const char *name; /* name of database */ ns_src *srclist; /* list of sources */ - unsigned srclistsize; /* size of srclist */ + unsigned int srclistsize; /* size of srclist */ } ns_dbt; /* @@ -203,7 +203,7 @@ typedef struct { const char *name; /* module name */ void *handle; /* handle from dlopen() */ ns_mtab *mtab; /* method table */ - unsigned mtabsize; /* size of mtab */ + unsigned int mtabsize; /* size of mtab */ /* called to unload module */ nss_module_unregister_fn unregister; } ns_mod;