diff options
| author | Jim Meyering <meyering@redhat.com> | 2010-10-11 11:55:58 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2011-01-28 23:28:38 +0100 |
| commit | fb3e015d8279b4766947083e847618090c53e707 (patch) | |
| tree | 7fee7a0c4c3f3d5a1a9bf363e90be768a6fb913e | |
| parent | distribute extent-scan.h, too (diff) | |
| download | coreutils-fb3e015d8279b4766947083e847618090c53e707.tar.gz coreutils-fb3e015d8279b4766947083e847618090c53e707.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) |
