From 20ef211cfa5b5fcc437484a879fdc5d4c66bbaf5 Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Thu, 29 Nov 2018 14:08:06 -0500 Subject: libglusterfs: Move devel headers under glusterfs directory libglusterfs devel package headers are referenced in code using include semantics for a program, this while it works can be better especially when dealing with out of tree xlator builds or in general out of tree devel package usage. Towards this, the following changes are done, - moved all devel headers under a glusterfs directory - Included these headers using system header notation <> in all code outside of libglusterfs - Included these headers using own program notation "" within libglusterfs This change although big, is just moving around the headers and making it correct when including these headers from other sources. This helps us correctly include libglusterfs includes without namespace conflicts. Change-Id: Id2a98854e671a7ee5d73be44da5ba1a74252423b Updates: bz#1193929 Signed-off-by: ShyamsundarR --- glusterfsd/src/glusterfsd.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'glusterfsd/src/glusterfsd.c') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 5bf0db0edfb..6347941f369 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -53,32 +53,32 @@ #endif #endif -#include "xlator.h" -#include "glusterfs.h" -#include "compat.h" -#include "logging.h" +#include +#include +#include +#include #include "glusterfsd-messages.h" -#include "dict.h" -#include "list.h" -#include "timer.h" +#include +#include +#include #include "glusterfsd.h" -#include "revision.h" -#include "common-utils.h" -#include "gf-event.h" -#include "statedump.h" -#include "latency.h" +#include +#include +#include +#include +#include #include "glusterfsd-mem-types.h" -#include "syscall.h" -#include "call-stub.h" +#include +#include #include #include "rpc-clnt.h" -#include "syncop.h" -#include "client_t.h" +#include +#include #include "netgroups.h" #include "exports.h" -#include "monitoring.h" +#include -#include "daemon.h" +#include /* using argp for command line parsing */ static char gf_doc[] = ""; -- cgit