warning: conflicting types for built-in function `vsprintf'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm porting my driver to 2.6, and with the Suse 9.1 Pro kernel (2.6.4-52), I'm getting this error if I include kernel.h:

CC [M] /mnt/ttabi/sb/starcore/software/adapter/util/diag/driver/diag.o
In file included from /mnt/ttabi/sb/starcore/software/adapter/util/diag/driver/diag.c:16:
include/linux/kernel.h:71: warning: conflicting types for built-in function `vsprintf'
include/linux/kernel.h:74: warning: conflicting types for built-in function `vsnprintf'
include/linux/kernel.h:81: warning: conflicting types for built-in function `vsscanf'


Three questions:

1) Since when is vsprintf() a built-in?
2) If it is a built-in, why does kernel.h include a prototype for it?
3) How can I fix this?

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux