#endif
#include "compat.h"
-#include "opm.h"
+#include "defs.h"
RCSID("$Id$");
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
/*
- * Copyright (C) 2002 Erik Fears
+ * Copyright (C) 2002-2003 Erik Fears
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
#include "opm_types.h"
#include "opm_common.h"
#include "list.h"
+#include "defs.h"
#ifdef STDC_HEADERS
# include <string.h>
--- /dev/null
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
+#ifndef DEFS_H
+#define DEFS_H
+
+/* Miscellaneous defines that don't belong anywhere else. */
+
+/* Stuff to shut up warnings about rcsid being unused. */
+#define USE_VAR(var) static char sizeof##var = sizeof(sizeof##var) + sizeof(var)
+/* RCS tag. */
+#define RCSID(x) static char rcsid[] = x; USE_VAR(rcsid);
+
+#endif /* DEFS_H */
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
/*
Copyright (C) 2002 by the past and present ircd coders, and others.
#include "inet.h"
#include "opm.h"
+#include "defs.h"
#ifndef INADDRSZ
#define INADDRSZ 4
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
/*
* Copyright (C) 2002-2003 Erik Fears
*
#include "list.h"
#include "inet.h"
#include "proxy.h"
+#include "defs.h"
#include <errno.h>
#ifdef TIME_WITH_SYS_TIME
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
/*
* Copyright (C) 2002-2003 Erik Fears
*
#include "list.h"
#include "malloc.h"
#include "opm.h"
+#include "defs.h"
RCSID("$Id$");
+/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
+
/*
- * Copyright (C) 2002 Erik Fears
+ * Copyright (C) 2002-2003 Erik Fears
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
#include "malloc.h"
#include "opm.h"
+#include "defs.h"
RCSID("$Id$");
#include "opm_common.h"
-/* Stuff to shut up warnings about rcsid being unused. */
-#define USE_VAR(var) static char sizeof##var = sizeof(sizeof##var) + sizeof(var)
-/* RCS tag. */
-#define RCSID(x) static char rcsid[] = x; USE_VAR(rcsid);
-
-
typedef struct _OPM_CONFIG OPM_CONFIG_T;
typedef struct _OPM OPM_T;
typedef struct _OPM_REMOTE OPM_REMOTE_T;
/* vim: set shiftwidth=3 softtabstop=3 expandtab: */
-/* Copyright (C) 2002 Erik Fears
+/* Copyright (C) 2002-2003 Erik Fears
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
#include "opm_types.h"
#include "opm_error.h"
#include "libopm.h"
+#include "defs.h"
RCSID("$Id$");
#include "setup.h"
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include <stdio.h>
+
#include "opm.h"
#include "opm_error.h"
#include "opm_types.h"
#include "compat.h"
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include "defs.h"
RCSID("$Id$");