This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Quash implicit declaration warning
- From: Marek Polacek <polacek at redhat dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Sun, 08 Jan 2012 19:15:54 +0100
- Subject: [PATCH] Quash implicit declaration warning
This shuts up:
../nptl/sysdeps/unix/sysv/linux/mq_notify.c:204:7: warning: implicit declaration of function ‘__pthread_get_minstack’ [-Wimplicit-function-declaration]
nptl/ChangeLog:
2012-01-08 Marek Polacek <polacek@redhat.com>
* sysdeps/unix/sysv/linux/mq_notify.c: Include <nptl/pthreadP.h>.
--- libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c.mp 2012-01-08 17:31:09.596967344 +0100
+++ libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c 2012-01-08 17:48:20.964230180 +0100
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004, 2005, 2008, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2004, 2005, 2008, 2011, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contribute by Ulrich Drepper <drepper@redhat.com>, 2004.
@@ -30,6 +30,7 @@
#include <sys/socket.h>
#include <not-cancel.h>
#include <kernel-features.h>
+#include <nptl/pthreadP.h>
#ifdef __NR_mq_notify
Marek