Merge compat.h and missing.h into missing.h
This commit is contained in:
@@ -50,7 +50,6 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <sudo_plugin.h>
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include <pathnames.h>
|
||||
|
||||
|
@@ -45,7 +45,6 @@
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
#ifndef LINE_MAX
|
||||
|
@@ -49,7 +49,6 @@
|
||||
#include <pwd.h>
|
||||
|
||||
#include <sudo_plugin.h>
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
/*
|
||||
|
@@ -118,10 +118,10 @@ TEST_OBJS = interfaces.o testsudoers.o tsgetgrpw.o error.o group_plugin.o
|
||||
VERSION = @PACKAGE_VERSION@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
|
||||
SUDODEP = $(srcdir)/sudoers.h $(incdir)/compat.h \
|
||||
$(srcdir)/defaults.h $(incdir)/error.h $(incdir)/list.h \
|
||||
$(srcdir)/logging.h $(incdir)/missing.h $(srcdir)/sudo_nss.h \
|
||||
$(devdir)/def_data.h $(top_builddir)/pathnames.h $(top_builddir)/config.h
|
||||
SUDODEP = $(srcdir)/sudoers.h $(srcdir)/defaults.h $(incdir)/error.h \
|
||||
$(incdir)/list.h $(srcdir)/logging.h $(incdir)/missing.h \
|
||||
$(srcdir)/sudo_nss.h $(devdir)/def_data.h \
|
||||
$(top_builddir)/pathnames.h $(top_builddir)/config.h
|
||||
|
||||
AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h
|
||||
|
||||
@@ -211,11 +211,11 @@ redblack.lo: $(srcdir)/redblack.c $(SUDODEP) $(srcdir)/redblack.h
|
||||
set_perms.lo: $(srcdir)/set_perms.c $(SUDODEP)
|
||||
sudo_nss.lo: $(srcdir)/sudo_nss.c $(SUDODEP)
|
||||
sudoers.lo: $(srcdir)/sudoers.c $(SUDODEP) $(srcdir)/interfaces.h
|
||||
timestr.lo: $(srcdir)/timestr.c $(incdir)/compat.h $(top_builddir)/config.h
|
||||
timestr.lo: $(srcdir)/timestr.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||
toke.lo: $(devdir)/toke.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(devdir)/gram.h
|
||||
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/toke.c
|
||||
tsgetgrpw.lo: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
||||
plugin_error.lo: $(srcdir)/plugin_error.c $(incdir)/error.h $(incdir)/compat.h $(top_builddir)/config.h
|
||||
plugin_error.lo: $(srcdir)/plugin_error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||
|
||||
# Auth dependencies
|
||||
sudo_auth.lo: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)
|
||||
@@ -235,14 +235,14 @@ securid5.lo: $(authdir)/securid5.c $(AUTHDEP)
|
||||
sia.lo: $(authdir)/sia.c $(AUTHDEP)
|
||||
|
||||
# Command dependencies (sudoreplay, testsudoers, visudo)
|
||||
error.o: $(top_srcdir)/src/error.c $(incdir)/error.h $(incdir)/compat.h $(top_builddir)/config.h
|
||||
error.o: $(top_srcdir)/src/error.c $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(top_srcdir)/src/error.c
|
||||
find_path.o: find_path.lo
|
||||
getdate.o: $(devdir)/getdate.c $(incdir)/compat.h $(top_builddir)/config.h
|
||||
getdate.o: $(devdir)/getdate.c $(incdir)/missing.h $(top_builddir)/config.h
|
||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(devdir)/getdate.c
|
||||
goodpath.o: goodpath.lo
|
||||
interfaces.o: interfaces.lo
|
||||
sudoreplay.o: $(srcdir)/sudoreplay.c $(incdir)/alloc.h $(incdir)/compat.h $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||
sudoreplay.o: $(srcdir)/sudoreplay.c $(incdir)/alloc.h $(incdir)/missing.h $(incdir)/error.h $(incdir)/missing.h $(top_builddir)/config.h
|
||||
testsudoers.o: $(srcdir)/testsudoers.c $(SUDODEP) $(srcdir)/parse.h $(incdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
|
||||
tsgetgrpw.o: $(srcdir)/tsgetgrpw.c $(SUDODEP)
|
||||
visudo.o: $(srcdir)/visudo.c $(SUDODEP) $(devdir)/gram.h
|
||||
|
@@ -28,7 +28,7 @@
|
||||
#endif /* STDC_HEADERS */
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include "logging.h"
|
||||
|
||||
#ifdef HAVE_BSM_AUDIT
|
||||
|
@@ -47,7 +47,6 @@
|
||||
# include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
/*
|
||||
|
@@ -50,7 +50,7 @@
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
|
||||
#define EPOCH 1970
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
|
||||
#define EPOCH 1970
|
||||
|
@@ -31,10 +31,9 @@
|
||||
#include <string.h>
|
||||
#include <libaudit.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include <error.h>
|
||||
#include <alloc.h>
|
||||
#include <missing.h>
|
||||
#include <linux_audit.h>
|
||||
|
||||
/*
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <setjmp.h>
|
||||
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include <alloc.h>
|
||||
#include <error.h>
|
||||
#include <sudo_plugin.h>
|
||||
|
@@ -24,12 +24,11 @@
|
||||
|
||||
#include <pathnames.h>
|
||||
#include <limits.h>
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include <error.h>
|
||||
#include <alloc.h>
|
||||
#include <list.h>
|
||||
#include <fileops.h>
|
||||
#include <missing.h>
|
||||
#include "defaults.h"
|
||||
#include "logging.h"
|
||||
#include "sudo_nss.h"
|
||||
|
@@ -85,10 +85,9 @@
|
||||
|
||||
#include <pathnames.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
#include <alloc.h>
|
||||
#include <error.h>
|
||||
#include <missing.h>
|
||||
|
||||
#ifndef LINE_MAX
|
||||
# define LINE_MAX 2048
|
||||
|
@@ -28,7 +28,7 @@
|
||||
#endif /* STDC_HEADERS */
|
||||
#include <time.h>
|
||||
|
||||
#include <compat.h>
|
||||
#include <missing.h>
|
||||
|
||||
char *get_timestr(time_t, int);
|
||||
|
||||
|
Reference in New Issue
Block a user