Sebastian Huber
501bd46fd6
shell: Rename "IO" typedef for better Doxygen
...
An automatic link from every place in the documentation which mentions
"IO" to this dd command internal "IO" typedef is not really nice.
2020-12-02 07:45:53 +01:00
eadler
208ebf2099
dd(1): Use a local swapbytes() function.
...
swab(3) has restrict qualifiers for src and dst.
Avoid relying on undefined overlapping swab behavior.
Obtained From: OpenBSD
2020-08-20 14:03:20 +02:00
Sebastian Huber
38207a31e4
Move feature macro before "config.h" include
...
This allows to use header includes in "config.h" to reduce the build
configuration checks.
Update #3818 .
2019-11-19 16:05:54 +01:00
Sebastian Huber
6cdaa850c8
shell: Use #include "..." for local header files
...
Update #3375 .
2018-10-09 13:26:47 +02:00
Sebastian Huber
7192313802
shell: Fix missing prototype warning
2017-09-28 13:18:52 +02:00
Sebastian Huber
f97536dcd3
basdefs.h: Add and use RTEMS_UNUSED
2015-10-26 09:13:19 +01:00
Ralf Corsepius
f1d9293ec8
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/shell/cmds.c:
Make rtems_shell_main_monitor static.
* libmisc/shell/main_alias.c:
Make rtems_shell_rtems_main_alias static.
* libmisc/shell/main_blksync.c:
Make rtems_shell_main_blksync static.
* libmisc/shell/main_cat.c:
Make rtems_shell_main_cat static.
* libmisc/shell/main_chdir.c:
Make rtems_shell_main_chdir static.
* libmisc/shell/main_chmod.c:
Make rtems_shell_main_chmod static.
* libmisc/shell/main_chroot.c:
Make rtems_shell_main_chroot static.
* libmisc/shell/main_cp.c:
Make rtems_shell_cp_exit, rtems_shell_main_cp static.
* libmisc/shell/main_cpuuse.c:
Make rtems_shell_main_cpuuse static.
* libmisc/shell/main_date.c:
Make rtems_shell_main_date static.
* libmisc/shell/main_dd.c:
Make rtems_shell_main_dd static.
* libmisc/shell/main_echo.c:
Make rtems_shell_main_echo static.
* libmisc/shell/main_getenv.c:
Make rtems_shell_main_getenv static.
* libmisc/shell/main_halt.c:
Make rtems_shell_main_halt static.
2011-12-04 09:51:48 +00:00
Ralf Corsepius
80e239fb46
Add local version of __unused macro.
2011-03-24 09:38:01 +00:00
Joel Sherrill
2946682d59
2011-01-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with
same name in <sys/stat.h>.
2011-01-17 23:05:36 +00:00
Ralf Corsepius
9a77af8537
Add HAVE_CONFIG_H support to let files receive configure defines.
2010-03-26 17:18:43 +00:00
Ralf Corsepius
0893220b2a
Whitespace removal.
2009-11-29 12:12:39 +00:00
Chris Johns
6576c1d7ea
2009-06-15 Chris Johns <chrisj@rtems.org>
...
* libmisc/shell/hexdump-odsyntax.c: AVR has the same size float
and double. Fix error in case statement.
* libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not
available if networking is disabled.
2009-06-15 01:02:18 +00:00
Chris Johns
e4a3d93ab1
2009-06-12 Chris Johns <chrisj@rtems.org>
...
* libmisc/shell/dd-args.c, libmisc/shell/dd-conv.c,
libmisc/shell/dd-conv_tab.c, libmisc/shell/dd-misc.c,
libmisc/shell/dd-position.c, libmisc/shell/dd.h,
libmisc/shell/extern-dd.h, libmisc/shell/hexdump-conv.c,
libmisc/shell/hexdump-display.c, libmisc/shell/hexdump-odsyntax.c,
libmisc/shell/hexdump-parse.c, libmisc/shell/hexdump.h,
libmisc/shell/hexsyntax.c, libmisc/shell/main_dd.c,
libmisc/shell/main_hexdump.c: New.
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add dd and
hexdump commands.
2009-06-12 05:51:43 +00:00