From 0bdcab100ca5fd86ec8ab0f9ccc3645b47835437 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 17 Aug 2016 18:19:00 +0200 Subject: all: cleanup includes in header files - don't include "nm-default.h" in header files. Every source file must include as first header "nm-default.h", thus our headers get the default include already implicitly. - we don't support compiling NetworkManager itself with a C++ compiler. Remove G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support users of libnm to use C++, thus they stay in public headers. (cherry picked from commit f19aff89095ca192b8b2e37534b7a899aecd82f9) --- src/nm-rfkill-manager.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nm-rfkill-manager.h') diff --git a/src/nm-rfkill-manager.h b/src/nm-rfkill-manager.h index 0084364cc7..d9937dafc3 100644 --- a/src/nm-rfkill-manager.h +++ b/src/nm-rfkill-manager.h @@ -19,9 +19,6 @@ * Copyright (C) 2007 - 2013 Red Hat, Inc. */ - -#include "nm-default.h" - #ifndef __NETWORKMANAGER_RFKILL_MANAGER_H__ #define __NETWORKMANAGER_RFKILL_MANAGER_H__ -- cgit v1.2.1