git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git]
/
common
/
devices
/
unixserial.c
diff --git
a/common/devices/unixserial.c
b/common/devices/unixserial.c
index
9594d89
..
80b4b7a
100644
(file)
--- a/
common/devices/unixserial.c
+++ b/
common/devices/unixserial.c
@@
-11,6
+11,9
@@
Released under the terms of the GNU GPL, see file COPYING for more details.
$Log$
Released under the terms of the GNU GPL, see file COPYING for more details.
$Log$
+ Revision 1.1.1.6 2002/04/03 01:44:15 short
+ Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
+
Revision 1.1.1.5 2002/04/03 00:08:07 short
Found in "gnokii-working" directory, some November-patches version
Revision 1.1.1.5 2002/04/03 00:08:07 short
Found in "gnokii-working" directory, some November-patches version
@@
-113,7
+116,7
@@
static void device_script_cfgfunc(const char *section,const char *key,const char
setenv(key,value,1/*overwrite*/); /* errors ignored */
}
setenv(key,value,1/*overwrite*/); /* errors ignored */
}
-
static
int device_script(int fd, const char *section)
+int device_script(int fd, const char *section)
{
pid_t pid;
const char *scriptname = CFG_Get(CFG_Info, "global", section);
{
pid_t pid;
const char *scriptname = CFG_Get(CFG_Info, "global", section);
@@
-159,7
+162,7
@@
int status;
int serial_close_all_openfds[0x10]; /* -1 when entry not used, fd otherwise */
int serial_close(int __fd);
int serial_close_all_openfds[0x10]; /* -1 when entry not used, fd otherwise */
int serial_close(int __fd);
-
static
void serial_close_all(void)
+void serial_close_all(void)
{
int i;
{
int i;
@@
-169,7
+172,7
@@
static void serial_close_all(void)
serial_close(serial_close_all_openfds[i]);
}
serial_close(serial_close_all_openfds[i]);
}
-
static
void unixserial_interrupted(int signo)
+void unixserial_interrupted(int signo)
{
exit(EXIT_FAILURE);
/* NOTREACHED */
{
exit(EXIT_FAILURE);
/* NOTREACHED */