From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 03 Feb 2004 20:12:42 +0000 Subject: Re: [patch] udevd - cleanup and better timeout handling Message-Id: <20040203201242.GA30531@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="envbJBWh7q8WU6mo" List-Id: References: <20040125200314.GA8376@vrfy.org> In-Reply-To: <20040125200314.GA8376@vrfy.org> To: linux-hotplug@vger.kernel.org --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 02, 2004 at 05:26:45PM -0800, Greg KH wrote: > On Mon, Feb 02, 2004 at 10:36:44PM +0100, Kay Sievers wrote: > > > > No, it works without it, cause the linker finds the symbol later. > > But we use the function in udev.c and udevdb.c, so I thought we > > should include the header for the prototype: > > > > In file included from udevdb.c:38: > > logging.h: In function `init_logging': > > logging.h:76: warning: implicit declaration of function `getpid' > > Hm, I don't see that on my build. Must be using different versions of > gcc or something. Send me a patch and I'll add it. This includes the missing header for the use of getpid in logging.h. thanks, Kay --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="01-include-used-funtion.patch" ===== logging.h 1.6 vs edited ===== --- 1.6/logging.h Mon Feb 2 09:22:01 2004 +++ edited/logging.h Tue Feb 3 21:06:26 2004 @@ -31,6 +31,7 @@ #ifdef LOG #include +#include #include #undef info --envbJBWh7q8WU6mo-- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel