[icinga-checkins] icinga.org: icinga-core/mforni/core: Issue #411

git at icinga.org git at icinga.org
Sun May 9 10:32:08 CEST 2010


Module: icinga-core
Branch: mforni/core
Commit: 671c038e45a8c484bc12cf2571febba77b1976a4
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=671c038e45a8c484bc12cf2571febba77b1976a4

Author: Massimo Forni <forni.massimo at gmail.com>
Date:   Sat May  8 19:28:25 2010 +0200

Issue #411
 Removed grab_contactgroup_macros() and its prototype

---

 common/macros.c  |   17 -----------------
 include/macros.h |    1 -
 2 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/common/macros.c b/common/macros.c
index 2489cd7..613680f 100644
--- a/common/macros.c
+++ b/common/macros.c
@@ -384,23 +384,6 @@ int grab_contact_macros(contact *cntct){
 
 
 
-/* grab contactgroup macros */
-int grab_contactgroup_macros(contactgroup *cg){
-
-	/* clear contactgroup macros */
-	clear_contactgroup_macros();
-
-	/* save pointer to contactgroup for later */
-	macro_contactgroup_ptr=cg;
-
-	if(cg==NULL)
-		return ERROR;
-
-	return OK;
-	}
-
-
-
 
 /******************************************************************/
 /******************* MACRO GENERATION FUNCTIONS *******************/
diff --git a/include/macros.h b/include/macros.h
index 0aa52f3..df6aeab 100644
--- a/include/macros.h
+++ b/include/macros.h
@@ -216,7 +216,6 @@ int grab_host_macros(host *);                        	/* updates the host macro
 int grab_servicegroup_macros(servicegroup *);           /* updates servicegroup macros */
 int grab_hostgroup_macros(hostgroup *);                 /* updates hostgroup macros */
 int grab_contact_macros(contact *);                  	/* updates the contact macro data */
-int grab_contactgroup_macros(contactgroup *);           /* updates contactgroup macros */
 int grab_datetime_macros(void);				/* updates date/time macros */
 int grab_on_demand_macro(char *);                       /* fetches an on-demand macro */
 





More information about the icinga-checkins mailing list