Changeset 1021 for trunk/sst_fwhub.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/sst_fwhub.c

    r982 r1021  
    2323/* Adapted from the Intel FW hub stuff for 82802ax parts. */ 
    2424 
    25 #include <stdlib.h> 
    26 #include <string.h> 
    2725#include "flash.h" 
    2826#include "chipdrivers.h" 
Note: See TracChangeset for help on using the changeset viewer.