summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/ext.h
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-10-21 12:01:19 +0000
committeruqs <uqs@FreeBSD.org>2012-10-21 12:01:19 +0000
commit0435f4a49c48e7ffd3690c28630f09490ec3c2dc (patch)
tree51a66e358e4c5579ab65ee6198ef02fdd1437244 /sbin/fsck_msdosfs/ext.h
parentd704245c81126879f7dc17d84768dfe6451bbe9c (diff)
downloadFreeBSD-src-0435f4a49c48e7ffd3690c28630f09490ec3c2dc.zip
FreeBSD-src-0435f4a49c48e7ffd3690c28630f09490ec3c2dc.tar.gz
Make fsck and fsck_msdosfs WARNS=6 clean
- sprinkle const - add volatile qualifier to avoid vfork clobbering Inspired by: NetBSD PR: bin/139802 Reviewed by: ed
Diffstat (limited to 'sbin/fsck_msdosfs/ext.h')
-rw-r--r--sbin/fsck_msdosfs/ext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/ext.h b/sbin/fsck_msdosfs/ext.h
index a4fd19b..681cde9 100644
--- a/sbin/fsck_msdosfs/ext.h
+++ b/sbin/fsck_msdosfs/ext.h
@@ -133,7 +133,7 @@ void finishlf(void);
/*
* Return the type of a reserved cluster as text
*/
-char *rsrvdcltype(cl_t);
+const char *rsrvdcltype(cl_t);
/*
* Clear a cluster chain in a FAT
OpenPOWER on IntegriCloud