X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2Fdata%2Fvirtmodem.c;h=bcedc7e38e0abf97add6c1f1532f08d86bc876d2;hp=6b6d61aac108b38a3f23308c136f5426682ba040;hb=e434e7467e6c831f5b00f166483764f6f7649828;hpb=945be3cc1ae0f7739a3d28722d07f7d17b2690bf diff --git a/common/data/virtmodem.c b/common/data/virtmodem.c index 6b6d61a..bcedc7e 100644 --- a/common/data/virtmodem.c +++ b/common/data/virtmodem.c @@ -64,7 +64,6 @@ int PtyWRFD; /* pty interface - only different in debug mode. */ static bool UseSTDIO; /* Use STDIO for debugging purposes instead of pty */ bool CommandMode; -static bool VM_ThreadLoop(void); static GSM_Error VM_GSMInitialise(char *model, char *port, char *initlength, GSM_ConnectionType connection, char *synchronizetime); static int VM_PtySetup(char *bindir); @@ -114,7 +113,7 @@ bool VM_Initialise(char *model,char *port, char *initlength, GSM_ConnectionType static void VM_CharHandler(void); -static bool VM_ThreadLoop(void) +bool VM_ThreadLoop(void) { int res; fd_set readfds;