]> git.pld-linux.org Git - packages/pacemaker.git/blob - pacemaker-update.patch
- updated to 1.1.22 (new sonames)
[packages/pacemaker.git] / pacemaker-update.patch
1 --- pacemaker-Pacemaker-1.1.10/tools/notifyServicelogEvent.c.orig       2013-07-26 02:02:31.000000000 +0200
2 +++ pacemaker-Pacemaker-1.1.10/tools/notifyServicelogEvent.c    2013-09-07 22:08:44.162036132 +0200
3 @@ -31,13 +31,13 @@
4  #include <crm/common/util.h>
5  #include <crm_internal.h>
6  
7 -typedef enum { STATUS_GREEN = 1, STATUS_YELLOW, STATUS_RED } STATUS;
8 +typedef enum { STATUS_GREEN = 1, STATUS_YELLOW, STATUS_RED } STATUS_T;
9  
10 -const char *status2char(STATUS status);
11 -STATUS event2status(struct sl_event *event);
12 +const char *status2char(STATUS_T status);
13 +STATUS_T event2status(struct sl_event *event);
14  
15  const char *
16 -status2char(STATUS status)
17 +status2char(STATUS_T status)
18  {
19      switch (status) {
20          default:
21 @@ -50,10 +50,10 @@
22      }
23  }
24  
25 -STATUS
26 +STATUS_T
27  event2status(struct sl_event * event)
28  {
29 -    STATUS status = STATUS_GREEN;
30 +    STATUS_T status = STATUS_GREEN;
31  
32      crm_debug("Severity = %d, Disposition = %d", event->severity, event->disposition);
33  
34 @@ -153,7 +153,7 @@
35      }
36  
37      if (rc == 0) {
38 -        STATUS status = STATUS_GREEN;
39 +        STATUS_T status = STATUS_GREEN;
40          const char *health_component = "#health-ipmi";
41          const char *health_status = NULL;
42  
This page took 0.048036 seconds and 4 git commands to generate.