freebsd-dev/usr.bin/mkimg
Marcel Moolenaar 5aad7d9a87 Avoid depending on the <sys/endian.h> header for le*enc and be*enc.
Not only is the header unportable, the encoding/decoding functions
are as well.  Instead, duplicate the handful of small inlines we
need into a private header called endian.h.

Aside: an alternative approach is to move the encoding/decoding
functions to a separate system header.  While the header is still
nonportable, such an approach would make it possible to re-use the
definitions by playing games with include paths. This may be the
preferred approach if more (build) utilities need this.  This
change does not preclude that.  In fact, it makes it easier.
2016-09-26 01:06:32 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
apm.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
bsd.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
ebr.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
endian.h Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
format.c Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
format.h Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
gpt.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
image.c Eliminate the use of EDOOFUS. The error code was used to signal 2016-09-26 00:41:08 +00:00
image.h Make image_copyout_zeroes() an interface function. 2015-08-03 01:24:48 +00:00
Makefile mkimg: bump version to 20151211 after r292082 2016-06-17 18:49:42 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mbr.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
mkimg.1 Update mkimg(1) author's contact info 2016-09-21 18:42:17 +00:00
mkimg.c Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
mkimg.h Add mkimg_chs() for those schemes that need the LBA broken down into 2014-10-03 20:48:11 +00:00
pc98.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
qcow.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
raw.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
scheme.c Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
scheme.h Replace the use of linker sets with constructors for both the 2016-09-25 22:57:59 +00:00
vhd.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
vmdk.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00
vtoc8.c Avoid depending on the <sys/endian.h> header for le*enc and be*enc. 2016-09-26 01:06:32 +00:00