public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: GNU libc hacker <libc-hacker@sources.redhat.com>
Subject: problems with tst-clock_nanosleep fixed
Date: Sat, 17 May 2003 17:36:00 -0000	[thread overview]
Message-ID: <u8wugpeaq7.fsf@gromit.moeb> (raw)


Running the testsuite on x86-64 I get:

tst-clock_nanosleep.c: In function `do_test':
tst-clock_nanosleep.c:36: warning: implicit declaration of function `clock_nanosleep'
tst-clock_nanosleep.c:36: error: `CLOCK_REALTIME' undeclared (first use in this function)
tst-clock_nanosleep.c:36: error: (Each undeclared identifier is reported only once

I've committed the appended patch to fix this,

Andreas

2003-05-17  Andreas Jaeger  <aj@suse.de>

	* rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.

============================================================
Index: rt/tst-clock_nanosleep.c
--- rt/tst-clock_nanosleep.c	17 May 2003 06:04:51 -0000	1.1
+++ rt/tst-clock_nanosleep.c	17 May 2003 17:36:35 -0000
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/time.h>
+#include <time.h>
 
 
 /* Test that clock_nanosleep() does sleep.  */

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

                 reply	other threads:[~2003-05-17 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8wugpeaq7.fsf@gromit.moeb \
    --to=aj@suse.de \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).