• Tom Rini's avatar
    hash.c: Conditionally compile hash_command, static hash_show · 48ad68de
    Tom Rini authored
    The function hash_show is now only called by hash_command, so mark it as
    static (and drop from hash.h).  We only call hash_command when any of
    CONFIG_CMD_CRC32, CONFIG_CMD_SHA1SUM or CONFIG_CMD_HASH are set.  Since
    hash.c is linked in unconditionally we must take extra care with
    functions that bring in read-only strings as these will not be
    discarded.
    Signed-off-by: default avatarTom Rini <trini@konsulko.com>
    48ad68de
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...