Some day, maybe gcc will be able to optimize out static functions that are
authorRob Landley <rob@landley.net>
Thu, 8 Jun 2006 14:11:36 +0000 (14:11 -0000)
committerRob Landley <rob@landley.net>
Thu, 8 Jun 2006 14:11:36 +0000 (14:11 -0000)
never used so we don't have to #ifdef them.  Wouldn't that be nice?

miscutils/hdparm.c

index 512995a..81e7c6e 100644 (file)
@@ -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