projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Implement asynchronous OFPT_FLOW_MOD commands.
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
time.c
diff --git
a/datapath/linux-2.6/compat-2.6/time.c
b/datapath/linux-2.6/compat-2.6/time.c
index b07ee267ee4ab93895f33cc0f40dcf32ae4e6450..ad3ee9440815203de74e0c538a1f83ae798ff20b 100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/time.c
+++ b/
datapath/linux-2.6/compat-2.6/time.c
@@
-4,7
+4,7
@@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
-/* "set_normalized_timespec" is defined but not exported in kernels
+/* "set_normalized_timespec" is defined but not exported in kernels
* before 2.6.26. */
/**
* before 2.6.26. */
/**
@@
-21,7
+21,7
@@
* 0 <= tv_nsec < NSEC_PER_SEC
* For negative values only the tv_sec field is negative !
*/
* 0 <= tv_nsec < NSEC_PER_SEC
* For negative values only the tv_sec field is negative !
*/
-void set_normalized_timespec(struct timespec *ts,
+void set_normalized_timespec(struct timespec *ts,
time_t sec, long nsec)
{
while (nsec >= NSEC_PER_SEC) {
time_t sec, long nsec)
{
while (nsec >= NSEC_PER_SEC) {