summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-02-07 22:28:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-10 09:02:20 +0100
commit8abaf1ad7137e0802761d85b456591de9eaa7a5f (patch)
treeb64f85443b1c1dad529ddff59024b3f7b81eb8c7 /fs
parentb104688cbb9c4d1e04b8a97e64b65a2bca614697 (diff)
downloadbarebox-8abaf1ad7137e0802761d85b456591de9eaa7a5f.tar.gz
barebox-8abaf1ad7137e0802761d85b456591de9eaa7a5f.tar.xz
net: provide alternatives to {ntoh, hton}[sl] funtions with cleaner semantics
ntohl always converts 32 bits even on archs where sizeof(long) == 8. "ntoh32" is a much more intuitive name here. Also the name of the 64 bit variant that is also added isn't questionable. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions