From 54f846c2115e7addf5468a9c10ecf9ba844b946e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2009 22:57:26 +0100 Subject: make init_smart() static --- atasmart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atasmart.c b/atasmart.c index eb2d3b8..3ff0334 100644 --- 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 */ -- cgit