From 9fde0835edd140e1d57361c2ce958bf106bc9d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 21 Aug 2020 10:38:44 +0200 Subject: Avoid empty translation unit warning zfs/ZfsArcStats.c:22: error: ISO C forbids an empty translation unit [-Werror=pedantic] 22 | }*/ | --- zfs/ZfsArcStats.c | 2 ++ zfs/ZfsArcStats.h | 1 + 2 files changed, 3 insertions(+) (limited to 'zfs') 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 -- cgit v1.2.3