Modify exports.h to remove its dependencies on other files, thus
enabling standalone apps to require only exports.h from the U-Boot
source tree. This appears to be the intent based on the following
note: http://lists.denx.de/pipermail/u-boot/2010-January/067174.html
Signed-off-by: Mike Partington <mparting@lexmark.com>
#include <common.h>
#include <exports.h>
#include <common.h>
#include <exports.h>
#define CMD_ID 0x9f
#define CMD_STAT 0xd7
#define CMD_ID 0x9f
#define CMD_STAT 0xd7
#include <exports.h>
#ifndef GCC_VERSION
#include <exports.h>
#ifndef GCC_VERSION
/* These are declarations of exported functions available in C code */
unsigned long get_version(void);
int getc(void);
/* These are declarations of exported functions available in C code */
unsigned long get_version(void);
int getc(void);
void putc(const char);
void puts(const char*);
int printf(const char* fmt, ...);
void putc(const char);
void puts(const char*);
int printf(const char* fmt, ...);
-void install_hdlr(int, interrupt_handler_t*, void*);
+void install_hdlr(int, void (*interrupt_handler_t)(void *), void*);
void free_hdlr(int);
void *malloc(size_t);
void free(void*);
void free_hdlr(int);
void *malloc(size_t);
void free(void*);
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif
void app_startup(char * const *);
void app_startup(char * const *);