* 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

@@ -31,6 +31,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* $Id$ */
#ifndef _PWIO_H
#define _PWIO_H
#include <pwd.h>
extern int pw_close (void);
extern const struct passwd *pw_locate (const char *);
@@ -45,3 +49,4 @@ extern int pw_unlock (void);
extern int pw_update (const struct passwd *);
extern int pw_sort (void);
#endif