Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
cac91f65
Commit
cac91f65
authored
Jan 10, 2012
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: comment "int e" variable expliciting it is "error" variable
parent
f1faad4f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
state-listening.c
proto-standard/state-listening.c
+1
-1
state-master.c
proto-standard/state-master.c
+1
-1
state-passive.c
proto-standard/state-passive.c
+1
-1
state-slave.c
proto-standard/state-slave.c
+1
-1
state-uncalibrated.c
proto-standard/state-uncalibrated.c
+1
-1
No files found.
proto-standard/state-listening.c
View file @
cac91f65
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
int
pp_listening
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
int
pp_listening
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
{
int
e
=
0
;
int
e
=
0
;
/* error var, to check errors in msg handling */
if
(
ppi
->
is_new_state
)
if
(
ppi
->
is_new_state
)
st_com_restart_annrec_timer
(
ppi
);
st_com_restart_annrec_timer
(
ppi
);
...
...
proto-standard/state-master.c
View file @
cac91f65
...
@@ -12,7 +12,7 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
...
@@ -12,7 +12,7 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
TimeInternal
correction_field
;
TimeInternal
correction_field
;
TimeInternal
resp_orig_tstamp
;
TimeInternal
resp_orig_tstamp
;
int
e
=
0
;
int
e
=
0
;
/* error var, to check errors in msg handling */
MsgHeader
*
hdr
=
&
ppi
->
msg_tmp_header
;
MsgHeader
*
hdr
=
&
ppi
->
msg_tmp_header
;
if
(
ppi
->
is_new_state
)
{
if
(
ppi
->
is_new_state
)
{
...
...
proto-standard/state-passive.c
View file @
cac91f65
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
int
pp_passive
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
int
pp_passive
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
{
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
int
e
=
0
;
int
e
=
0
;
/* error var, to check errors in msg handling */
if
(
ppi
->
is_new_state
)
{
if
(
ppi
->
is_new_state
)
{
pp_timer_start
(
1
<<
DSPOR
(
ppi
)
->
logMinPdelayReqInterval
,
pp_timer_start
(
1
<<
DSPOR
(
ppi
)
->
logMinPdelayReqInterval
,
...
...
proto-standard/state-slave.c
View file @
cac91f65
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
int
pp_slave
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
int
pp_slave
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
{
int
e
=
0
;
int
e
=
0
;
/* error var, to check errors in msg handling */
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
TimeInternal
req_rec_tstamp
;
TimeInternal
req_rec_tstamp
;
TimeInternal
correction_field
;
TimeInternal
correction_field
;
...
...
proto-standard/state-uncalibrated.c
View file @
cac91f65
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
int
pp_uncalibrated
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
int
pp_uncalibrated
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
{
int
e
=
0
;
int
e
=
0
;
/* error var, to check errors in msg handling */
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
TimeInternal
time
;
/* TODO: handle it, see handle(...) in protocol.c */
switch
(
ppi
->
msg_tmp_header
.
messageType
)
{
switch
(
ppi
->
msg_tmp_header
.
messageType
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment