summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2006-05-04 21:40:56 +0000
committerTar Committer <tar@ocjtech.us>2006-05-04 21:40:56 +0000
commit1cc9f22072de1d314a67387aac57740fb25c5258 (patch)
treef59aa9d622175580add0923bfac8963dc946e98e /acconfig.h
parentc0482931956d127b5f09d4a8d72758cd4cb1f097 (diff)
downloadrancid-1cc9f22072de1d314a67387aac57740fb25c5258.tar.gz
rancid-1cc9f22072de1d314a67387aac57740fb25c5258.tar.xz
rancid-1cc9f22072de1d314a67387aac57740fb25c5258.zip
Imported from rancid-2.3.2a4.tar.gz.rancid-2.3.2a4
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/acconfig.h b/acconfig.h
deleted file mode 100644
index 87d5f53..0000000
--- a/acconfig.h
+++ /dev/null
@@ -1,78 +0,0 @@
-#ifndef CONFIG_H
-#define CONFIG_H 1
-
-@TOP@
-
-@BOTTOM@
-
-#ifndef __P
-# if STDC_HEADERS
-# define __P(a) a
-# else
-# define __P(a) ()
-# endif
-#endif
-
-#define BUF_SZ LINE_MAX /* (increments of) size of bufs */
-
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-# include <sys/types.h>
-#elif HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-#if HAVE_ERRNO_H
-# include <errno.h>
-#endif
-extern int errno;
-
-#if HAVE_STRING_H
-# include <string.h>
-#endif
-#if HAVE_STRINGS_H
-# include <strings.h>
-#endif
-
-#if ! HAVE_STRERROR
-# define strerror(n) sys_errlist[n];
-#endif
-
-#if HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-#ifndef WEXITSTATUS
-# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
-#endif
-#ifndef WIFEXITED
-# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
-#endif
-
-#if HAVE_MEMSET
-# define bzero(p,s) memset(p, 0, s)
-# define bcopy(s,d,l) memcpy(d, s, l)
-#endif
-
-#if HAVE_INDEX && ! HAVE_STRCHR
-# define index(s,c) strchr(s,c)
-#endif
-
-#if HAVE_SYSEXITS_H
-# include <sysexits.h>
-#else
- /* missing sysexits.h */
-# define EX_OK 0
-# define EX_USAGE 64 /* command line usage error */
-# define EX_NOINPUT 66 /* cannot open input */
-# define EX_TEMPFAIL 75 /* temp failure */
-# define EX_OSERR 71 /* system error */
-# define EX_CANTCREAT 73 /* can't create (user) output file */
-# define EX_IOERR 74 /* input/output error */
-# define EX_CONFIG 78 /* configuration error */
-#endif
-
-#endif /* CONFIG_H */