summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quota.h2
-rw-r--r--quotaio_v2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/quota.h b/quota.h
index c772a8c..9b4b424 100644
--- a/quota.h
+++ b/quota.h
@@ -57,7 +57,7 @@ typedef u_int64_t qsize_t; /* Type in which we store size limitations */
#define FIOQSIZE _IOR('f', 128, loff_t)
#elif defined(__arm__) || defined(__mc68000__) || defined(__s390__)
#define FIOQSIZE 0x545E
- #elif defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__ia64__) || defined(__parisc__) || defined(__cris__)
+ #elif defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__ia64__) || defined(__parisc__) || defined(__cris__) || defined(__hppa__)
#define FIOQSIZE 0x5460
#elif defined(__mips__) || defined(__mips64__)
#define FIOQSIZE 0x6667
diff --git a/quotaio_v2.c b/quotaio_v2.c
index 2bbf699..3fe02df 100644
--- a/quotaio_v2.c
+++ b/quotaio_v2.c
@@ -42,7 +42,7 @@ report: v2_report
#define getdqbuf() smalloc(V2_DQBLKSIZE)
#define freedqbuf(buf) free(buf)
-extern inline void mark_quotafile_metainfo_dirty(struct quota_handle *h)
+static inline void mark_quotafile_metainfo_dirty(struct quota_handle *h)
{
h->qh_info.u.v2_mdqi.dqi_flags |= V2_IOFL_METAINFO_DIRTY;
mark_quotafile_info_dirty(h);