projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7dfc1
)
Some day, maybe gcc will be able to optimize out static functions that are
author
Rob Landley
<rob@landley.net>
Thu, 8 Jun 2006 14:11:36 +0000
(14:11 -0000)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/miscutils/hdparm.c
b/miscutils/hdparm.c
index 512995a4be74b8f8d0bdcf1fe446fba1f2187b0f..81e7c6e4ca71ad05d9568608bfd47b2b9caab398 100644
(file)
--- 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