Deleted Added
full compact
pass3.c (86514) pass3.c (92839)
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static const char sccsid[] = "@(#)pass3.c 8.2 (Berkeley) 4/27/95";
37#endif
38static const char rcsid[] =
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static const char sccsid[] = "@(#)pass3.c 8.2 (Berkeley) 4/27/95";
37#endif
38static const char rcsid[] =
39 "$FreeBSD: head/sbin/fsck_ffs/pass3.c 86514 2001-11-17 23:48:21Z iedowse $";
39 "$FreeBSD: head/sbin/fsck_ffs/pass3.c 92839 2002-03-20 22:57:10Z imp $";
40#endif /* not lint */
41
42#include <sys/param.h>
43
44#include <ufs/ufs/dinode.h>
45#include <ufs/ufs/dir.h>
46#include <ufs/ffs/fs.h>
47
48#include <string.h>
49
50#include "fsck.h"
51
52void
40#endif /* not lint */
41
42#include <sys/param.h>
43
44#include <ufs/ufs/dinode.h>
45#include <ufs/ufs/dir.h>
46#include <ufs/ffs/fs.h>
47
48#include <string.h>
49
50#include "fsck.h"
51
52void
53pass3()
53pass3(void)
54{
55 struct inoinfo *inp;
56 int loopcnt, inpindex, state;
57 ino_t orphan;
58 struct inodesc idesc;
59 char namebuf[MAXNAMLEN+1];
60
61 for (inpindex = inplast - 1; inpindex >= 0; inpindex--) {

--- 65 unchanged lines hidden ---
54{
55 struct inoinfo *inp;
56 int loopcnt, inpindex, state;
57 ino_t orphan;
58 struct inodesc idesc;
59 char namebuf[MAXNAMLEN+1];
60
61 for (inpindex = inplast - 1; inpindex >= 0; inpindex--) {

--- 65 unchanged lines hidden ---