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
This commit was generated by cvs2svn to compensate for changes in r158,
[gnokii.git]
/
common
/
links
/
fbus-phonet.c
diff --git
a/common/links/fbus-phonet.c
b/common/links/fbus-phonet.c
index
328fd09
..
d2f0b8b
100644
(file)
--- a/
common/links/fbus-phonet.c
+++ b/
common/links/fbus-phonet.c
@@
-17,8
+17,8
@@
The various routines are called PHONET_(whatever).
$Log$
The various routines are called PHONET_(whatever).
$Log$
- Revision 1.1.1.
1 2001/11/25 21:59:09
short
- :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
+ Revision 1.1.1.
2 2002/04/03 00:08:07
short
+ Found in "gnokii-working" directory, some November-patches version
Revision 1.8 2001/08/20 23:27:37 pkot
Add hardware shakehand to the link layer (Manfred Jonsson)
Revision 1.8 2001/08/20 23:27:37 pkot
Add hardware shakehand to the link layer (Manfred Jonsson)
@@
-80,9
+80,9
@@
/* Some globals */
/* Some globals */
-GSM_Link *glink;
-
GSM_Statemachine *
statemachine;
-PHONET_IncomingMessage imessage;
+
static
GSM_Link *glink;
+
static GSM_Statemachine *PHONET_
statemachine;
+
static
PHONET_IncomingMessage imessage;
/*--------------------------------------------*/
/*--------------------------------------------*/
@@
-186,7
+186,7
@@
void PHONET_RX_StateMachine(unsigned char rx_byte) {
/* Is that it? */
if (i->BufferCount == i->MessageLength) {
/* Is that it? */
if (i->BufferCount == i->MessageLength) {
- SM_IncomingFunction(statemachine, i->MessageType, i->MessageBuffer, i->MessageLength);
+ SM_IncomingFunction(
PHONET_
statemachine, i->MessageType, i->MessageBuffer, i->MessageLength);
i->state = FBUS_RX_Sync;
}
break;
i->state = FBUS_RX_Sync;
}
break;
@@
-288,7
+288,7
@@
GSM_Error PHONET_Initialise(GSM_Link *newlink, GSM_Statemachine *state)
/* 'Copy in' the global structures */
glink = newlink;
/* 'Copy in' the global structures */
glink = newlink;
- statemachine = state;
+
PHONET_
statemachine = state;
/* Fill in the link functions */
glink->Loop = &PHONET_Loop;
/* Fill in the link functions */
glink->Loop = &PHONET_Loop;