else return 1;
}
+static int writephonebook(int argc, char *args[]);
+
/* Main function - handles command line arguments, passes them to separate
functions accordingly. */
int main(int argc, char *argv[])
/* Read data from stdin, parse and write to phone. The parsing is relatively
crude and doesn't allow for much variation from the stipulated format. */
/* FIXME: I guess there's *very* similar code in xgnokii */
-int writephonebook(int argc, char *args[])
+static int writephonebook(int argc, char *args[])
{
GSM_PhonebookEntry entry;
GSM_Error error;