Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1870 → Rev 1869

/drivers/ddk/debug/dbglog.c
103,7 → 103,7
 
int printf(const char* format, ...)
{
char txtbuf[1024];
char txtbuf[256];
int len = 0;
 
va_list ap;
110,7 → 110,7
 
va_start(ap, format);
if (format)
len = vsnprintf(txtbuf, 1024, format, ap);
len = vsnprintf(txtbuf, 256, format, ap);
va_end(ap);
 
if( len )
122,7 → 122,7
 
int dbgprintf(const char* format, ...)
{
char txtbuf[1024];
char txtbuf[256];
unsigned writes;
int len = 0;
 
130,7 → 130,7
 
va_start(ap, format);
if (format)
len = vsnprintf(txtbuf, 1024, format, ap);
len = vsnprintf(txtbuf, 256, format, ap);
va_end(ap);
 
if( len )
150,7 → 150,7
 
int xf86DrvMsg(int skip, int code, const char* format, ...)
{
char txtbuf[1024];
char txtbuf[256];
unsigned writes;
va_list ap;
 
158,7 → 158,7
 
va_start(ap, format);
if (format)
len = vsnprintf(txtbuf, 1024, format, ap);
len = vsnprintf(txtbuf, 256, format, ap);
va_end(ap);
 
if( len )
/drivers/ddk/linux/ctype.c
File deleted
/drivers/devman/dmdev.h
File deleted
/drivers/include/linux/ctype.h
File deleted
/drivers/include/linux/pci.h
371,8 → 371,6
pci_channel_state_t error_state; /* current connectivity state */
struct device dev; /* Generic device interface */
 
struct acpi_device *acpi_dev;
 
int cfg_size; /* Size of configuration space */
 
/*
579,7 → 577,6
void pcibios_fixup_bus(struct pci_bus *b);
u8 pci_swizzle_interrupt_pin(struct pci_dev *dev, u8 pin);
 
struct pci_dev * pci_get_slot(struct pci_bus *bus, unsigned int devfn);
 
static inline bool pci_is_root_bus(struct pci_bus *pbus)
{
/drivers/include/linux/asm/div64.h
File deleted
/drivers/include/linux/kernel.h
113,18 → 113,6
return kzalloc(n * size, 0);
}
 
extern const char hex_asc[];
#define hex_asc_lo(x) hex_asc[((x) & 0x0f)]
#define hex_asc_hi(x) hex_asc[((x) & 0xf0) >> 4]
 
static inline char *pack_hex_byte(char *buf, u8 byte)
{
*buf++ = hex_asc_hi(byte);
*buf++ = hex_asc_lo(byte);
return buf;
}
 
 
void free (void *ptr);
 
#endif /* __KERNEL__ */