aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-08-15 14:08:27 +0930
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-01 14:23:06 +1000
commitbefc5fdb30604a24cdcd7c3c1d0f2b4e60af453e (patch)
tree81242019062bb2fd87ab74228d0f26d7f2f27c2e /libc
parentc0716fe5caadde0742c821ce7e7b0d3002d71314 (diff)
downloadskiboot-befc5fdb30604a24cdcd7c3c1d0f2b4e60af453e.zip
skiboot-befc5fdb30604a24cdcd7c3c1d0f2b4e60af453e.tar.gz
skiboot-befc5fdb30604a24cdcd7c3c1d0f2b4e60af453e.tar.bz2
libc/test: Fix time
There is no use for time, remove it. Fixes the following error (and the warning once stdint.h was included): libc/test/run-time.c:40:2: error: unknown type name ‘uint32_t’ uint32_t time; libc/test/run-time.c:41:11: warning: unused variable ‘time’ [-Wunused-variable] uint32_t time; Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'libc')
-rw-r--r--libc/test/run-time.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/test/run-time.c b/libc/test/run-time.c
index 95662f4..b0a221d 100644
--- a/libc/test/run-time.c
+++ b/libc/test/run-time.c
@@ -37,7 +37,6 @@ int main(void)
{
struct tm tm;
time_t t = 0;
- uint32_t time;
TIME_TEST(1970, 0, 1, 0, 0, 0, 0);
TIME_TEST(1971, 0, 1, 0, 0, 0, 365*SECS_PER_DAY);