projects
/
platform
/
upstream
/
libatasmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a110c
)
make init_smart() static
author
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Oct 2009 21:57:26 +0000
(22:57 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Oct 2009 21:57:26 +0000
(22:57 +0100)
atasmart.c
patch
|
blob
|
history
diff --git
a/atasmart.c
b/atasmart.c
index
eb2d3b8
..
3ff0334
100644
(file)
--- a/
atasmart.c
+++ b/
atasmart.c
@@
-151,7
+151,7
@@
typedef enum SkSmartCommand {
#define SK_MSECOND_VALID_SHORT_MAX (60ULL * 60ULL * 1000ULL)
#define SK_MSECOND_VALID_LONG_MAX (30ULL * 365ULL * 24ULL * 60ULL * 60ULL * 1000ULL)
-int init_smart(SkDisk *d);
+
static
int init_smart(SkDisk *d);
static const char *disk_type_to_human_string(SkDiskType type) {
@@
-2549,7
+2549,7
@@
finish:
return r;
}
-int init_smart(SkDisk *d) {
+
static
int init_smart(SkDisk *d) {
/* We don't do the SMART initialization right-away, since some
* drivers spin up when we do that */