Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha - Software
Commits
94222ea7
Commit
94222ea7
authored
Jun 19, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time: set time to 0 at init time, so delay works
parent
b000a735
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
time.c
time.c
+4
-2
No files found.
time.c
View file @
94222ea7
...
...
@@ -81,8 +81,10 @@ int fd_time_get(struct spec_fd *fd, struct fd_time *t, struct timespec *ts)
int
fd_time_init
(
struct
spec_fd
*
fd
)
{
/* nothing to do */
return
0
;
struct
timespec
ts
=
{
0
,
0
};
/* Set the time to zero, so internal stuff resyncs */
return
fd_time_set
(
fd
,
NULL
,
&
ts
);
}
void
fd_time_exit
(
struct
spec_fd
*
fd
)
...
...
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