Changeset 1021 for trunk/sb600spi.c


Ignore:
Timestamp:
05/31/10 00:24:40 (2 years ago)
Author:
hailfinger
Message:

Remove unneeded #include statements completely.

unistd.h was only used to get a definition of NULL in all files. Add our
own NULL #define and remove unistd.h from flash.h
stdio.h has no place in flash.h, it should be included only in files
which really need it.
Add #include statements in individual .c files where needed.

Replace a few printf with msg_* to eliminate the need for stdio.h.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sb600spi.c

    r1013 r1021  
    2424#if defined(__i386__) || defined(__x86_64__) 
    2525 
    26 #include <string.h> 
    2726#include "flash.h" 
    2827#include "chipdrivers.h" 
Note: See TracChangeset for help on using the changeset viewer.