summaryrefslogtreecommitdiff
path: root/lib/fs.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-04-29 22:43:01 +0000
committerjbj <devnull@localhost>2001-04-29 22:43:01 +0000
commit81ac89f4e6f176f9095e73b34d94d4ccf12da237 (patch)
tree85ef09056d85954efdee78fa6875611d460b538d /lib/fs.c
parentc83cfd5ed5b9637a090e57bef5aca5d5b96d00f4 (diff)
downloadrpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.tar.gz
rpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.tar.bz2
rpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.zip
- more boring lclint annotations and fiddles.
CVS patchset: 4725 CVS date: 2001/04/29 22:43:01
Diffstat (limited to 'lib/fs.c')
-rw-r--r--lib/fs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fs.c b/lib/fs.c
index 8390bdf07..862f9d9a0 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -7,6 +7,8 @@
#include <rpmmacro.h> /* XXX for rpmGetPath */
#include "debug.h"
+/*@-usereleased -onlytrans@*/
+
struct fsinfo {
/*@only@*/ const char * mntPoint; /*!< path to mount point. */
dev_t dev; /*!< devno for mount point. */
@@ -167,8 +169,10 @@ static int getFilesystemList(void)
item = *itemptr; /* structure assignment */
mntdir = item.our_mntdir;
#if defined(MNTOPT_RO)
+ /*@-compdef@*/
if (hasmntopt(itemptr, MNTOPT_RO) != NULL)
rdonly = 1;
+ /*@=compdef@*/
#endif
# elif GETMNTENT_TWO
/* Solaris, maybe others */
@@ -329,3 +333,4 @@ int rpmGetFilesystemUsage(const char ** fileList, int_32 * fssizes, int numFiles
return 0;
}
+/*@=usereleased =onlytrans@*/