diff options
author | jbj <devnull@localhost> | 2001-04-29 22:43:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-04-29 22:43:01 +0000 |
commit | 81ac89f4e6f176f9095e73b34d94d4ccf12da237 (patch) | |
tree | 85ef09056d85954efdee78fa6875611d460b538d /lib/fs.c | |
parent | c83cfd5ed5b9637a090e57bef5aca5d5b96d00f4 (diff) | |
download | rpm-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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@*/ |