svn commit: trunk/busybox/miscutils

landley at busybox.net landley at busybox.net
Thu Jun 8 14:11:37 UTC 2006


Author: landley
Date: 2006-06-08 07:11:36 -0700 (Thu, 08 Jun 2006)
New Revision: 15340

Log:
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?


Modified:
   trunk/busybox/miscutils/hdparm.c


Changeset:
Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c	2006-06-08 09:28:09 UTC (rev 15339)
+++ trunk/busybox/miscutils/hdparm.c	2006-06-08 14:11:36 UTC (rev 15340)
@@ -398,7 +398,8 @@
 
 static void identify(uint16_t *id_supplied) ATTRIBUTE_NORETURN;
 static void identify_from_stdin(void) ATTRIBUTE_NORETURN;
-
+#else
+void identify_from_stdin(void);
 #endif
 
 




More information about the busybox-cvs mailing list