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;
Header file for test utility.
$Log$
+ Revision 1.1.1.1.2.1.2.1 2001/12/14 21:34:20 short
+ Fixed fatal linker error (global symbol conflict of "writephonebook")
+ - all the _local_ function symbols of gnokii.c should be static,
+ they are just polluting the global namespace when present in "gnokii.h"!
+
Revision 1.1.1.1.2.1 2001/12/14 20:54:44 short
Update: orig2001_12_04_22_45 -> orig2001_12_14_20_46
#endif
int getmemory(int argc, char *argv[]);
-int writephonebook(int argc, char *argv[]);
int getspeeddial(char *number);
int setspeeddial(char *argv[]);
int getsms(int argc, char *argv[]);