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
eec79090
Commit
eec79090
authored
Jan 20, 2012
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: removed wrong extern in some functions implementation
parent
5d5e3790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
posix-timer.c
arch-gnu-linux/posix-timer.c
+5
-5
No files found.
arch-gnu-linux/posix-timer.c
View file @
eec79090
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
* select in the main loop must exit when a timer elapses. To be checked
* select in the main loop must exit when a timer elapses. To be checked
*/
*/
extern
int
posix_timer_init
(
struct
pp_instance
*
ppi
)
int
posix_timer_init
(
struct
pp_instance
*
ppi
)
{
{
struct
pp_timer
*
t
;
struct
pp_timer
*
t
;
int
i
;
int
i
;
...
@@ -41,7 +41,7 @@ extern int posix_timer_init(struct pp_instance *ppi)
...
@@ -41,7 +41,7 @@ extern int posix_timer_init(struct pp_instance *ppi)
}
}
extern
int
posix_timer_start
(
uint32_t
interval
,
struct
pp_timer
*
tm
)
int
posix_timer_start
(
uint32_t
interval
,
struct
pp_timer
*
tm
)
{
{
time
((
time_t
*
)
&
tm
->
start
);
time
((
time_t
*
)
&
tm
->
start
);
tm
->
interval
=
interval
;
tm
->
interval
=
interval
;
...
@@ -49,7 +49,7 @@ extern int posix_timer_start(uint32_t interval, struct pp_timer *tm)
...
@@ -49,7 +49,7 @@ extern int posix_timer_start(uint32_t interval, struct pp_timer *tm)
return
0
;
return
0
;
}
}
extern
int
posix_timer_stop
(
struct
pp_timer
*
tm
)
int
posix_timer_stop
(
struct
pp_timer
*
tm
)
{
{
tm
->
interval
=
0
;
tm
->
interval
=
0
;
tm
->
start
=
0
;
tm
->
start
=
0
;
...
@@ -57,7 +57,7 @@ extern int posix_timer_stop(struct pp_timer *tm)
...
@@ -57,7 +57,7 @@ extern int posix_timer_stop(struct pp_timer *tm)
return
0
;
return
0
;
}
}
extern
int
posix_timer_expired
(
struct
pp_timer
*
tm
)
int
posix_timer_expired
(
struct
pp_timer
*
tm
)
{
{
uint32_t
now
;
uint32_t
now
;
...
@@ -74,7 +74,7 @@ extern int posix_timer_expired(struct pp_timer *tm)
...
@@ -74,7 +74,7 @@ extern int posix_timer_expired(struct pp_timer *tm)
return
0
;
return
0
;
}
}
extern
void
pp_timer_adjust_all
(
struct
pp_instance
*
ppi
,
int32_t
diff
)
void
pp_timer_adjust_all
(
struct
pp_instance
*
ppi
,
int32_t
diff
)
{
{
int
i
;
int
i
;
...
...
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