summaryrefslogtreecommitdiff
path: root/lib/fs.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-01-23 20:23:24 +0000
committerjbj <devnull@localhost>2003-01-23 20:23:24 +0000
commit7e716b70fb68cbef5bd35e154a734269067f1e37 (patch)
tree3e9d8030e9e884673e9f561618b4711ff95cd912 /lib/fs.c
parentff140452c3620c5216778aa72505ada37f3407be (diff)
downloadlibrpm-tizen-7e716b70fb68cbef5bd35e154a734269067f1e37.tar.gz
librpm-tizen-7e716b70fb68cbef5bd35e154a734269067f1e37.tar.bz2
librpm-tizen-7e716b70fb68cbef5bd35e154a734269067f1e37.zip
splint fiddles.
CVS patchset: 6023 CVS date: 2003/01/23 20:23:24
Diffstat (limited to 'lib/fs.c')
-rw-r--r--lib/fs.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/fs.c b/lib/fs.c
index 4fc24f0a8..73ee6d6fa 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -1,4 +1,3 @@
-/*@-mods@*/
/**
* \file lib/fs.c
*/
@@ -24,6 +23,8 @@ struct fsinfo {
static int numFilesystems = 0;
void freeFilesystems(void)
+ /*@globals filesystems, fsnames, numFilesystems @*/
+ /*@modifies filesystems, fsnames, numFilesystems @*/
{
int i;
@@ -133,8 +134,10 @@ static int getFilesystemList(void)
* @return 0 on success, 1 on error
*/
static int getFilesystemList(void)
- /*@globals fileSystem, internalState@*/
- /*@modifies fileSystem, internalState@*/
+ /*@globals filesystems, fsnames, numFilesystems,
+ fileSystem, internalState @*/
+ /*@modifies filesystems, fsnames, numFilesystems,
+ fileSystem, internalState @*/
{
int numAlloced = 10;
struct stat sb;
@@ -353,4 +356,3 @@ int rpmGetFilesystemUsage(const char ** fileList, int_32 * fssizes, int numFiles
return 0;
}
/*@=usereleased =onlytrans@*/
-/*@=mods@*/