* lib/pwio.h: Add protection against multiple inclusions.

* lib/pwio.c: The changed, isopen, locked, and readonly fields of the db are booleans.
This commit is contained in:
nekral-guest
2008-05-26 08:49:44 +00:00
parent caed1add3a
commit 964f68630a
3 changed files with 15 additions and 4 deletions

View File

@ -102,10 +102,10 @@ static struct commonio_db passwd_db = {
NULL, /* head */
NULL, /* tail */
NULL, /* cursor */
0, /* changed */
0, /* isopen */
0, /* locked */
0 /* readonly */
false, /* changed */
false, /* isopen */
false, /* locked */
false /* readonly */
};
int pw_name (const char *filename)