diff options
author | uqs <uqs@FreeBSD.org> | 2012-10-21 12:01:19 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2012-10-21 12:01:19 +0000 |
commit | 0435f4a49c48e7ffd3690c28630f09490ec3c2dc (patch) | |
tree | 51a66e358e4c5579ab65ee6198ef02fdd1437244 /sbin/fsck_msdosfs/ext.h | |
parent | d704245c81126879f7dc17d84768dfe6451bbe9c (diff) | |
download | FreeBSD-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.h | 2 |
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 |