diff options
author | Chris Johns <chrisj@rtems.org> | 2015-06-19 16:07:32 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-06-19 16:07:32 +1000 |
commit | 59bc7c1f5f90500dbd7b419602cee84de0766e17 (patch) | |
tree | 62bea07a0603e84b20c40376328f0045d484bc5e /rtemsbsd/include/machine/rtems-bsd-program.h | |
parent | Fix RTEMS ifdef labelling. (diff) | |
download | rtems-libbsd-59bc7c1f5f90500dbd7b419602cee84de0766e17.tar.bz2 |
Remove #undefs and fix formatting.
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-program.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-program.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-program.h b/rtemsbsd/include/machine/rtems-bsd-program.h index 7c2837e7..82830f51 100644 --- a/rtemsbsd/include/machine/rtems-bsd-program.h +++ b/rtemsbsd/include/machine/rtems-bsd-program.h @@ -72,22 +72,18 @@ void rtems_bsd_program_unlock(void); #ifndef RTEMS_BSD_PROGRAM_NO_EXIT_WRAP - #undef exit #define exit(code) rtems_bsd_program_exit(code) #endif #ifndef RTEMS_BSD_PROGRAM_NO_ERROR_WRAP - #undef error #define error(fmt, ...) rtems_bsd_program_error(fmt, ## __VA_ARGS__) #endif #ifndef RTEMS_BSD_PROGRAM_NO_GETPROGNAME_WRAP - #undef getprogname #define getprogname() rtems_bsd_program_get_name() #endif #ifndef RTEMS_BSD_PROGRAM_NO_PRINTF_WRAP - #undef printf #define printf(...) fprintf(stdout, __VA_ARGS__) #endif |