/*
- * $Id: edit.c,v 1.52 2006/08/26 19:16:41 cduval Exp $
+ * $Id: edit.c,v 1.55 2006/09/06 02:46:44 cduval Exp $
*
* by JH <jheinonen@users.sourceforge.net>
*
WINDOW *editw;
-static int parse_date_string(char *s, int *day, int *month, int *year);
-
static void
editor_tab(const int tab)
* valid string
*/
static int
-change_field(char *msg, char **field, int max_len)
+change_field(char *msg, char **field, size_t max_len)
{
char *old;
int ret = 0;
}
static int
-change_name_field(char *msg, char **field, int max_len)
+change_name_field(char *msg, char **field, size_t max_len)
{
char *tmp;
int ret;
return valid;
}
-static int
+int
parse_date_string(char *s, int *day, int *month, int *year)
{
int i = 0;
return is_valid_date(*day, *month, *year);
}
-static int
-is_number(char *s)
-{
- char *p;
-
- for(p = s; *p; p++)
- if(!isdigit(*p))
- return FALSE;
- return TRUE;
-}
-
static void
edit_date(int item, int nb)
{