diff options
author | Thomas Haller <thaller@redhat.com> | 2020-12-22 00:24:54 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-12-22 16:33:27 +0100 |
commit | 90704dafae02222cdb80d0e83e6ffc29348174a5 (patch) | |
tree | 1e2b8a4547ea05bf431e4954c5a2fa8c70bb0490 | |
parent | 871c34d94eb655e29ca0620f0217531334723d31 (diff) |
libnm: include "nm-core-enum-types.h" in libnm headers with quotes
In C, includes with <> are for system headers, while "" prefers the
current working directory (implementation defined).
For libnm headers that include other libnm headers, we tend to use
"" instead of <>. That makes sense to me. Be consistent about that.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | libnm/nm-enum-types.h.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index b5d5e8cb41..6c4365ebf1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1523,7 +1523,7 @@ GLIB_GENERATED += \ nm_enum_types_sources = \ $(libnm_lib_h_pub_mkenums) \ $(libnm_lib_h_pub_real) -nm_enum_types_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include <nm-core-enum-types.h>\n' +nm_enum_types_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include "nm-core-enum-types.h"\n' nm_enum_types_MKENUMS_C_FLAGS = --identifier-prefix NM --fhead '\#include "nm-default.h"\n' $(dispatcher_nm_dispatcher_OBJECTS): $(libnm_lib_h_pub_mkenums) diff --git a/libnm/nm-enum-types.h.template b/libnm/nm-enum-types.h.template index bd9ce40b25..3bd86cce00 100644 --- a/libnm/nm-enum-types.h.template +++ b/libnm/nm-enum-types.h.template @@ -2,7 +2,7 @@ #ifndef __NM_ENUM_TYPES_H__ #define __NM_ENUM_TYPES_H__ -#include <nm-core-enum-types.h> +#include "nm-core-enum-types.h" #include <glib-object.h> G_BEGIN_DECLS |