summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-02 15:25:19 +0000
committerbde <bde@FreeBSD.org>1995-04-02 15:25:19 +0000
commit93d526e43b20ebd9c84f184c2619384253575c8b (patch)
treea603aeb95c2f4d5465eeb7f9f2839c9f0aa28291 /sbin
parent2742dc81e0a2c14dd7868eadfd72be0636515932 (diff)
downloadFreeBSD-src-93d526e43b20ebd9c84f184c2619384253575c8b.zip
FreeBSD-src-93d526e43b20ebd9c84f184c2619384253575c8b.tar.gz
Submitted by: Philippe Charnier <charnier@lirmm.fr>, distilled by bde
Fix a couple more bogus types that aren't reported by `gcc -Wall'.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck/dir.c2
-rw-r--r--sbin/fsck/inode.c3
-rw-r--r--sbin/fsck_ffs/dir.c2
-rw-r--r--sbin/fsck_ffs/inode.c3
-rw-r--r--sbin/fsck_ifs/dir.c2
-rw-r--r--sbin/fsck_ifs/inode.c3
6 files changed, 9 insertions, 6 deletions
diff --git a/sbin/fsck/dir.c b/sbin/fsck/dir.c
index b05109c..ead9a5f 100644
--- a/sbin/fsck/dir.c
+++ b/sbin/fsck/dir.c
@@ -597,7 +597,7 @@ bad:
/*
* allocate a new directory
*/
-int
+ino_t
allocdir(parent, request, mode)
ino_t parent, request;
int mode;
diff --git a/sbin/fsck/inode.c b/sbin/fsck/inode.c
index dcf2d89..22cee3f 100644
--- a/sbin/fsck/inode.c
+++ b/sbin/fsck/inode.c
@@ -56,7 +56,8 @@ ckinode(dp, idesc)
register struct inodesc *idesc;
{
register daddr_t *ap;
- long ret, n, ndb, offset;
+ int ret;
+ long n, ndb, offset;
struct dinode dino;
quad_t remsize, sizepb;
mode_t mode;
diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c
index b05109c..ead9a5f 100644
--- a/sbin/fsck_ffs/dir.c
+++ b/sbin/fsck_ffs/dir.c
@@ -597,7 +597,7 @@ bad:
/*
* allocate a new directory
*/
-int
+ino_t
allocdir(parent, request, mode)
ino_t parent, request;
int mode;
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index dcf2d89..22cee3f 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -56,7 +56,8 @@ ckinode(dp, idesc)
register struct inodesc *idesc;
{
register daddr_t *ap;
- long ret, n, ndb, offset;
+ int ret;
+ long n, ndb, offset;
struct dinode dino;
quad_t remsize, sizepb;
mode_t mode;
diff --git a/sbin/fsck_ifs/dir.c b/sbin/fsck_ifs/dir.c
index b05109c..ead9a5f 100644
--- a/sbin/fsck_ifs/dir.c
+++ b/sbin/fsck_ifs/dir.c
@@ -597,7 +597,7 @@ bad:
/*
* allocate a new directory
*/
-int
+ino_t
allocdir(parent, request, mode)
ino_t parent, request;
int mode;
diff --git a/sbin/fsck_ifs/inode.c b/sbin/fsck_ifs/inode.c
index dcf2d89..22cee3f 100644
--- a/sbin/fsck_ifs/inode.c
+++ b/sbin/fsck_ifs/inode.c
@@ -56,7 +56,8 @@ ckinode(dp, idesc)
register struct inodesc *idesc;
{
register daddr_t *ap;
- long ret, n, ndb, offset;
+ int ret;
+ long n, ndb, offset;
struct dinode dino;
quad_t remsize, sizepb;
mode_t mode;
OpenPOWER on IntegriCloud