Re: Linux 2.2.22

From: Luca Montecchiani (luca.montecchiani@teamfab.it)
Date: Tue Sep 17 2002 - 04:43:04 EST


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/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:18 EST