From 5150ee8601c6ee78407a2a8cae96d6a07ece5f52 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 3 Apr 2011 23:59:38 -0400 Subject: Fixed bug where (rec = NULL) caused user_del to flip out. Adding code to add a user to a list --- duser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'duser.h') diff --git a/duser.h b/duser.h index 600c96f..764ff76 100644 --- a/duser.h +++ b/duser.h @@ -44,5 +44,6 @@ int find_in_file_ex(record_t* rec); int user_del(record_t* rec); int user_cmd(const int argc, char* argv[]); int user_choice(char c); +int user_add(const char* filename, const char* needle); #endif -- cgit