source: trunk/diffutils/lib/exclude.c@ 2858

Last change on this file since 2858 was 2556, checked in by bird, 20 years ago

diffutils 2.8.1

File size: 6.3 KB
Line 
1/* exclude.c -- exclude file names
2
3 Copyright 1992, 1993, 1994, 1997, 1999, 2000, 2001 Free Software
4 Foundation, Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING.
18 If not, write to the Free Software Foundation,
19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21/* Written by Paul Eggert <[email protected]> */
22
23#if HAVE_CONFIG_H
24# include <config.h>
25#endif
26
27#if HAVE_STDBOOL_H
28# include <stdbool.h>
29#else
30typedef enum {false = 0, true = 1} bool;
31#endif
32
33#include <errno.h>
34#ifndef errno
35extern int errno;
36#endif
37#include <stdio.h>
38#if HAVE_SYS_TYPES_H
39# include <sys/types.h>
40#endif
41#if HAVE_STDLIB_H
42# include <stdlib.h>
43#endif
44#if HAVE_STRING_H
45# include <string.h>
46#endif
47#if HAVE_STRINGS_H
48# include <strings.h>
49#endif