diff options
| author | Jim Meyering <meyering@redhat.com> | 2010-10-11 11:55:58 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2011-01-22 12:16:43 +0100 |
| commit | 9d3daa5e170a787ed8abe757e809f3aaee615f16 (patch) | |
| tree | a86274defcf7e111fc7bafe10731315738aa83bb | |
| parent | distribute extent-scan.h, too (diff) | |
| download | coreutils-9d3daa5e170a787ed8abe757e809f3aaee615f16.tar.gz coreutils-9d3daa5e170a787ed8abe757e809f3aaee615f16.zip | |
formatting
| -rw-r--r-- | src/extent-scan.c | 7 | ||||
| -rw-r--r-- | src/extent-scan.h | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/extent-scan.c b/src/extent-scan.c index 97bb792ac..51609757f 100644 --- a/src/extent-scan.c +++ b/src/extent-scan.c @@ -109,5 +109,10 @@ extent_scan_read (struct extent_scan *scan) return true; } #else -extern bool extent_scan_read (ignored) { errno = ENOTSUP; return false; } +extern bool +extent_scan_read (struct extent_scan *scan ATTRIBUTE_UNUSED) +{ + errno = ENOTSUP; + return false; +} #endif diff --git a/src/extent-scan.h b/src/extent-scan.h index 3119c8df1..ac9e5006f 100644 --- a/src/extent-scan.h +++ b/src/extent-scan.h @@ -55,11 +55,9 @@ struct extent_scan struct extent_info *ext_info; }; -void -extent_scan_init (int src_fd, struct extent_scan *scan); +void extent_scan_init (int src_fd, struct extent_scan *scan); -bool -extent_scan_read (struct extent_scan *scan); +bool extent_scan_read (struct extent_scan *scan); static inline void extent_scan_free (struct extent_scan *scan) |
