summaryrefslogtreecommitdiff
path: root/sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch
blob: e68ed5f53814d8bffb3e03fe456a0fee1376dac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
https://github.com/ekenberg/quotatool/commit/ad6944baaa73cf6230f9a2bef2399b31c2130547

From ad6944baaa73cf6230f9a2bef2399b31c2130547 Mon Sep 17 00:00:00 2001
From: Bas Zoetekouw <bas.zoetekouw@surfnet.nl>
Date: Thu, 9 Aug 2018 22:11:58 +0200
Subject: [PATCH] fix compiler warnings

--- a/src/output.h
+++ b/src/output.h
@@ -17,8 +17,8 @@
 
 extern int output_level;
 
-inline void   output_version (void);
-inline void   output_help (void);
+void   output_version (void);
+void   output_help (void);
 
 void   output_debug (const char *format, ...);
 void   output_info (const char *format, ...);
--- a/src/quota.h
+++ b/src/quota.h
@@ -110,7 +110,7 @@ void        quota_delete   (quota_t *myquota);
 int         quota_get      (quota_t *myquota);
 int         quota_set      (quota_t *myquota);
 
-int         xfs_reset_grace(quota_t *myquota, int grace_type);
+int         quota_reset_grace(quota_t *myquota, int grace_type);
 
 
 #endif /* INCLUDE_QUOTATOOL_QUOTA */