Whamcloud - gitweb
LU-9324 lnet: move cyaml.h under lnet/include/ 59/26859/6
authorBobi Jam <bobijam.xu@intel.com>
Mon, 24 Apr 2017 09:01:46 +0000 (17:01 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 12 May 2017 05:06:28 +0000 (05:06 +0000)
So that it can be included in other projects.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I980578742fd194e2464870f1ab8d6a9ae8deb9e2
Reviewed-on: https://review.whamcloud.com/26859
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/cyaml.h [moved from lnet/utils/cyaml/cyaml.h with 100% similarity]
lnet/utils/cyaml/cyaml.c
lnet/utils/lnetconfig/Makefile.am
lnet/utils/lnetctl.c

index de8804b..cd8fac6 100644 (file)
@@ -45,7 +45,7 @@
 #include <limits.h>
 #include <ctype.h>
 #include "libcfs/util/list.h"
-#include "cyaml.h"
+#include <cyaml.h>
 
 #define INDENT         4
 #define EXTRA_IND      2
index 54e9a26..7da6071 100644 (file)
@@ -29,7 +29,7 @@
 lib_LTLIBRARIES = liblnetconfig.la
 
 CYAML := $(top_builddir)/lnet/utils/cyaml/cyaml.c \
-        $(top_builddir)/lnet/utils/cyaml/cyaml.h
+        $(top_builddir)/lnet/include/cyaml.h
 liblnetconfig_la_SOURCES  = liblnetconfig.c liblnetconfig.h \
                            liblnetconfig_lnd.c liblnd.h $(CYAML)
 liblnetconfig_la_CPPFLAGS = -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 \
index 819ce0b..70c986a 100644 (file)
@@ -32,7 +32,7 @@
 #include <libcfs/util/parser.h>
 #include <lnet/lnetctl.h>
 #include <lnet/nidstr.h>
-#include "cyaml/cyaml.h"
+#include <cyaml.h>
 #include "lnetconfig/liblnetconfig.h"
 
 #define LNET_CONFIGURE         true