lkml.org 
[lkml]   [2002]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.2.22
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.048 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site