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 512995a4be74b8f8d0bdcf1fe446fba1f2187b0f..81e7c6e4ca71ad05d9568608bfd47b2b9caab398 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