public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luca Montecchiani <luca.montecchiani@teamfab.it>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.2.22
Date: Tue, 17 Sep 2002 11:43:04 +0200	[thread overview]
Message-ID: <3D86F928.B23E34C7@teamfab.it> (raw)
In-Reply-To: 200209161635.g8GGZaV18210@devserv.devel.redhat.com

Alan Cox wrote:
> 
:

I've got this compiler warning :

>> printk.c:263: warning: implicit declaration of function `_vsnprintf'

looking at 2.4.x seem that someone forgot this :

--- linux/include/linux/kernel.h.orig   Sun Mar 25 18:31:03 2001
+++ linux/include/linux/kernel.h        Tue Sep 17 11:26:58 2002
@@ -51,6 +51,7 @@
 extern char *get_options(char *str, int *ints); 
 extern int sprintf(char * buf, const char * fmt, ...);
 extern int vsprintf(char *buf, const char *, va_list);
+extern int _vsnprintf(char *buf, int n, const char *fmt, va_list args);
 
 extern int session_of_pgrp(int pgrp);


ciao,
luca

  reply	other threads:[~2002-09-17  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 16:35 Linux 2.2.22 Alan Cox
2002-09-17  9:43 ` Luca Montecchiani [this message]
2002-10-01 20:47 ` Rasmus Andersen
2002-10-02  0:07   ` Alan Cox
2002-10-02  0:22     ` Philippe Troin

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=3D86F928.B23E34C7@teamfab.it \
    --to=luca.montecchiani@teamfab.it \
    --cc=alan@redhat.com \
    --cc=linux-kernel@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