From 90654b6be9bce6cd28020ec495ac2b9a9f38bd2d Mon Sep 17 00:00:00 2001 From: landley Date: Thu, 8 Jun 2006 14:11:36 +0000 Subject: 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? git-svn-id: svn://busybox.net/trunk/busybox@15340 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- miscutils/hdparm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 512995a4b..81e7c6e4c 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 -- cgit v1.2.3-55-g6feb