[PATCH] Quash implicit declaration warning
Marek Polacek
polacek@redhat.com
Sun Jan 8 18:31:00 GMT 2012
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
More information about the Libc-alpha
mailing list