Deleted Added
full compact
misc.c (124387) misc.c (144295)
1/*-
2 * Copyright (c) 1991, 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

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

28 */
29
30#if 0
31#ifndef lint
32static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
33#endif /*not lint */
34#endif
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1991, 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

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

28 */
29
30#if 0
31#ifndef lint
32static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
33#endif /*not lint */
34#endif
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/usr.sbin/mtree/misc.c 124387 2004-01-11 19:25:56Z phk $");
36__FBSDID("$FreeBSD: head/usr.sbin/mtree/misc.c 144295 2005-03-29 11:44:17Z tobez $");
37
38#include <sys/types.h>
39#include <sys/stat.h>
40#include <err.h>
41#include <fts.h>
42#include <stdio.h>
43#include <unistd.h>
44#include "mtree.h"

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

67 {"nlink", F_NLINK, NEEDVALUE},
68 {"nochange", F_NOCHANGE, 0},
69#ifdef RMD160
70 {"ripemd160digest", F_RMD160, NEEDVALUE},
71#endif
72#ifdef SHA1
73 {"sha1digest", F_SHA1, NEEDVALUE},
74#endif
37
38#include <sys/types.h>
39#include <sys/stat.h>
40#include <err.h>
41#include <fts.h>
42#include <stdio.h>
43#include <unistd.h>
44#include "mtree.h"

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

67 {"nlink", F_NLINK, NEEDVALUE},
68 {"nochange", F_NOCHANGE, 0},
69#ifdef RMD160
70 {"ripemd160digest", F_RMD160, NEEDVALUE},
71#endif
72#ifdef SHA1
73 {"sha1digest", F_SHA1, NEEDVALUE},
74#endif
75#ifdef SHA256
76 {"sha256digest", F_SHA256, NEEDVALUE},
77#endif
75 {"size", F_SIZE, NEEDVALUE},
76 {"time", F_TIME, NEEDVALUE},
77 {"type", F_TYPE, NEEDVALUE},
78 {"uid", F_UID, NEEDVALUE},
79 {"uname", F_UNAME, NEEDVALUE},
80};
81
82int keycompare(const void *, const void *);

--- 38 unchanged lines hidden ---
78 {"size", F_SIZE, NEEDVALUE},
79 {"time", F_TIME, NEEDVALUE},
80 {"type", F_TYPE, NEEDVALUE},
81 {"uid", F_UID, NEEDVALUE},
82 {"uname", F_UNAME, NEEDVALUE},
83};
84
85int keycompare(const void *, const void *);

--- 38 unchanged lines hidden ---