diff options
author | Rob Landley | 2006-06-08 14:11:36 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-08 14:11:36 +0000 |
commit | 9c6f9552ec99b200f203943076778345b0946fb2 (patch) | |
tree | a453d63bc3ece41a92482d6527ed02f5ce05e0bb | |
parent | 2e7dfc179c0041475cd6a6b981f2f037df01c784 (diff) | |
download | busybox-9c6f9552ec99b200f203943076778345b0946fb2.zip busybox-9c6f9552ec99b200f203943076778345b0946fb2.tar.gz |
Some day, maybe gcc will be able to optimize out static functions that are
never used so we don't have to #ifdef them. Wouldn't that be nice?
-rw-r--r-- | miscutils/hdparm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 512995a..81e7c6e 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -398,7 +398,8 @@ static const char * const cmd_feat_str[] = { static void identify(uint16_t *id_supplied) ATTRIBUTE_NORETURN; static void identify_from_stdin(void) ATTRIBUTE_NORETURN; - +#else +void identify_from_stdin(void); #endif |