Re: Linux 2.2.22

Luca Montecchiani (luca.montecchiani@teamfab.it)
Tue, 17 Sep 2002 11:43:04 +0200


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/