This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]