summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2013-09-08 15:01:29 +0800
committerBernard Xiong <[email protected]>2013-09-08 15:01:29 +0800
commit2bcb9edd91df59e068f82b2ce438215e2c5df32b (patch)
treec582e06a7b0b99a6f6f2eaf2f300c2ec01c6807c /components/libc
parent15b9db80d60a5af95c1f8a072a65694f56e8ff0d (diff)
Add gettimeofday declaration in sys/time.h
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/minilibc/sys/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/minilibc/sys/time.h b/components/libc/minilibc/sys/time.h
index 3df6d8c570..ada613251b 100644
--- a/components/libc/minilibc/sys/time.h
+++ b/components/libc/minilibc/sys/time.h
@@ -40,4 +40,6 @@ struct tm {
const char *tm_zone; /* Timezone abbreviation. */
};
+int gettimeofday(struct timeval *tp, void *ignore);
+
#endif