summaryrefslogtreecommitdiffstats
path: root/libc/unistd/ualarm.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 20:10:56 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 20:10:56 +0000
commitbd26ecdcebac54521f8e0e9fd0074db25d97ccfd (patch)
tree9435aaad0512b4512493246455a446692e44c1c2 /libc/unistd/ualarm.c
parentbfcbb4284e479504186ededfafd0560da143c0b9 (diff)
downloaduClibc-alpine-bd26ecdcebac54521f8e0e9fd0074db25d97ccfd.tar.bz2
uClibc-alpine-bd26ecdcebac54521f8e0e9fd0074db25d97ccfd.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/unistd/ualarm.c')
-rw-r--r--libc/unistd/ualarm.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/unistd/ualarm.c b/libc/unistd/ualarm.c
index 3bcb8e463..07bea2a50 100644
--- a/libc/unistd/ualarm.c
+++ b/libc/unistd/ualarm.c
@@ -1,11 +1,16 @@
-#define setitimer __setitimer
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
-#define _GNU_SOURCE
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+libc_hidden_proto(setitimer)
+
useconds_t ualarm(useconds_t value, useconds_t interval)
{
struct itimerval otimer;