]> The Tcpdump Group git mirrors - libpcap/blob - config/have_vsnprintf.c
Define ffs() in optimize.c; that's all that uses it.
[libpcap] / config / have_vsnprintf.c
1 #include <stdio.h>
2 #include <stdarg.h>
3
4 void foo( char* format, ... )
5 {
6 char buffer[256];
7 va_list args;
8 va_start (args, format);
9 vsnprintf (buffer,256,format, args);
10 }
11
12 int main() {
13 foo( "%d", 1 );
14 }