Imported Debian patch 2.5.2p1-1
[debian/amanda] / common-src / amregex.h
diff --git a/common-src/amregex.h b/common-src/amregex.h
deleted file mode 100644 (file)
index dfbc3b4..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Amanda, The Advanced Maryland Automatic Network Disk Archiver
- * Copyright (c) 1991-1998 University of Maryland at College Park
- * All Rights Reserved.
- *
- * Permission to use, copy, modify, distribute, and sell this software and its
- * documentation for any purpose is hereby granted without fee, provided that
- * the above copyright notice appear in all copies and that both that
- * copyright notice and this permission notice appear in supporting
- * documentation, and that the name of U.M. not be used in advertising or
- * publicity pertaining to distribution of the software without specific,
- * written prior permission.  U.M. makes no representations about the
- * suitability of this software for any purpose.  It is provided "as is"
- * without express or implied warranty.
- *
- * U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
- * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * Authors: the Amanda Development Team.  Its members are listed in a
- * file named AUTHORS, in the root directory of this distribution.
- */
-/*
- * $Id: amregex.h,v 1.11 2006/05/25 01:47:11 johnfranks Exp $
- *
- * compatibility header file for Henry Spencer's regex library.
- */
-#ifndef AMREGEX_H
-#define AMREGEX_H
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-
-#include <limits.h>
-
-#ifndef HAVE__POSIX2_RE_DUP_MAX
-#define _POSIX2_RE_DUP_MAX 255
-#endif
-
-#ifndef HAVE_CHAR_MIN
-#define CHAR_MIN (-128)
-#endif
-
-#ifndef HAVE_CHAR_MAX
-#define CHAR_MAX 127
-#endif
-
-#ifndef HAVE_CHAR_BIT
-#define CHAR_BIT 8
-#endif
-
-/*
- * So that we can use GNUC attributes (such as to get -Wall warnings
- * for printf-like functions).  Only do this in gcc 2.7 or later ...
- * it may work on earlier stuff, but why chance it.
- */
-#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 7
-#define __attribute__(__x)
-#endif
-
-#ifndef HAVE_BCOPY_DECL
-extern void bcopy(const void *from, void *to, size_t n);
-#endif
-
-#ifndef HAVE_MEMMOVE_DECL
-extern char *memmove(char *to, char *from, size_t n);
-#endif
-
-#ifndef HAVE_MEMSET_DECL
-extern void *memset(void *s, int c, size_t n);
-#endif
-
-#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY)
-#define USEBCOPY
-#endif
-
-#ifndef HAVE_SNPRINTF_DECL
-#include "arglist.h"
-int snprintf (char *buf, size_t len, const char *format,...)
-                   __attribute__((format(printf,3,4)));
-#endif
-#ifndef HAVE_VSNPRINTF_DECL
-#include "arglist.h"
-int vsnprintf(char *buf, size_t len, const char *format, va_list ap);
-#endif
-
-#define POSIX_MISTAKE
-
-#ifdef HAVE_UNSIGNED_LONG_CONSTANTS
-#undef NO_UL_CNSTS
-#else
-#define NO_UL_CNSTS
-#endif
-
-#endif /* AMREGEX_H */