forked from ClusterLabs/pacemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: lib/services: unify/add include guards for *.h
(wild guess has it that MH stood for long-dead Matahari project)
- Loading branch information
Showing
4 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,13 @@ | |
* Copyright (C) 2012 Andrew Beekhof <[email protected]> | ||
*/ | ||
|
||
#ifndef SYSTEMD__H | ||
# define SYSTEMD__H | ||
|
||
G_GNUC_INTERNAL GList *systemd_unit_listall(void); | ||
G_GNUC_INTERNAL int systemd_unit_exec(svc_action_t * op); | ||
G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); | ||
G_GNUC_INTERNAL gboolean systemd_unit_running(const gchar * name); | ||
G_GNUC_INTERNAL void systemd_cleanup(void); | ||
|
||
#endif /* SYSTEMD__H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,11 @@ | |
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
* | ||
* File: upstart-dbus.c | ||
* Copyright (C) 2010 Senko Rasic <[email protected]> | ||
* Copyright (c) 2010 Ante Karamatic <[email protected]> | ||
*/ | ||
#ifndef _UPSTART_DBUS_H_ | ||
# define _UPSTART_DBUS_H_ | ||
#ifndef UPSTART__H | ||
# define UPSTART__H | ||
|
||
# include <glib.h> | ||
# include "crm/services.h" | ||
|
@@ -29,4 +28,4 @@ G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); | |
G_GNUC_INTERNAL gboolean upstart_job_running(const gchar * name); | ||
G_GNUC_INTERNAL void upstart_cleanup(void); | ||
|
||
#endif /* _UPSTART_DBUS_H_ */ | ||
#endif /* UPSTART__H */ |