if (db != NULL) { db->close (db, 0); db = NULL; }
internal_endent (&db);
_nss_db_endnetgrent (void){  __libc_lock_lock (lock);  if (db != NULL)    {      db->close (db, 0);      db = NULL;    }  __libc_lock_unlock (lock);  return NSS_STATUS_SUCCESS;}