diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-08-21 10:38:44 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-08-21 10:38:44 +0200 |
commit | 9fde0835edd140e1d57361c2ce958bf106bc9d54 (patch) | |
tree | e2f6bd9686e5b962d676a827e684130a788e92ab /zfs | |
parent | b92f62f912d15b5db59483ea803fe1bb282ebc9a (diff) |
Avoid empty translation unit warning
zfs/ZfsArcStats.c:22: error: ISO C forbids an empty translation unit [-Werror=pedantic]
22 | }*/
|
Diffstat (limited to 'zfs')
-rw-r--r-- | zfs/ZfsArcStats.c | 2 | ||||
-rw-r--r-- | zfs/ZfsArcStats.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/zfs/ZfsArcStats.c b/zfs/ZfsArcStats.c index 1bfaf47d..bfed07d3 100644 --- a/zfs/ZfsArcStats.c +++ b/zfs/ZfsArcStats.c @@ -20,3 +20,5 @@ typedef struct ZfsArcStats_ { unsigned long long int uncompressed; } ZfsArcStats; }*/ + +static int make_iso_compilers_happy __attribute__((unused)); diff --git a/zfs/ZfsArcStats.h b/zfs/ZfsArcStats.h index ee5d0edd..9368ba9d 100644 --- a/zfs/ZfsArcStats.h +++ b/zfs/ZfsArcStats.h @@ -23,4 +23,5 @@ typedef struct ZfsArcStats_ { unsigned long long int uncompressed; } ZfsArcStats; + #endif |