move htonl() + friends to util.h
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Dec 2009 11:16:03 +0000 (12:16 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 18 Dec 2009 15:37:57 +0000 (09:37 -0600)
commit02e60532453d18eafcd5e00f3383ae29f7c468f9
treeddb7839c5ed1ce50341d2096b207bb70974b294c
parentbb627052535339debaa1259b7273172c9181d1a3
move htonl() + friends to util.h

As the next patch will add one more user of the macros move them
to util.h.  Also add the 16bit variants.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
src/coreboot.c
src/util.h