linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [patch] udevd - cleanup and better timeout handling
Date: Tue, 03 Feb 2004 20:12:42 +0000	[thread overview]
Message-ID: <20040203201242.GA30531@vrfy.org> (raw)
In-Reply-To: <20040125200314.GA8376@vrfy.org>

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

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

[-- Attachment #2: 01-include-used-funtion.patch --]
[-- Type: text/plain, Size: 235 bytes --]

===== 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 <stdarg.h>
+#include <unistd.h>
 #include <syslog.h>
 
 #undef info

  parent reply	other threads:[~2004-02-03 20:12 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-25 20:03 [patch] udevd - cleanup and better timeout handling Kay Sievers
2004-01-26 18:22 ` Greg KH
2004-01-26 19:11 ` Kay Sievers
2004-01-26 19:28 ` Greg KH
2004-01-26 19:42 ` Kay Sievers
2004-01-26 22:26 ` Greg KH
2004-01-26 22:56 ` Kay Sievers
2004-01-27  6:56 ` Kay Sievers
2004-01-27 18:55 ` Greg KH
2004-01-27 19:08 ` Kay Sievers
2004-01-27 19:13 ` Greg KH
2004-01-28 21:47 ` Kay Sievers
2004-01-29  1:52 ` Kay Sievers
2004-01-29  1:56 ` Kay Sievers
2004-01-29 15:55 ` Kay Sievers
2004-01-31  2:42 ` Kay Sievers
2004-02-01  9:08 ` Greg KH
2004-02-01 18:16 ` Kay Sievers
2004-02-02  2:19 ` Kay Sievers
2004-02-02  8:21 ` Greg KH
2004-02-02 11:50 ` Kay Sievers
2004-02-02 18:45 ` Greg KH
2004-02-02 21:36 ` Kay Sievers
2004-02-03  1:26 ` Greg KH
2004-02-03  6:43 ` Ling, Xiaofeng
2004-02-03 20:12 ` Kay Sievers [this message]
2004-02-04  0:56 ` Greg KH
2004-02-08  9:43 ` Olaf Hering
2004-02-08 15:22 ` Kay Sievers
2004-02-08 15:40 ` Olaf Hering
2004-02-08 15:57 ` Kay Sievers
2004-02-08 16:09 ` Olaf Hering

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=20040203201242.GA30531@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /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 NNTP newsgroup(s).