소스 검색

Allow getSaNameT to be compiled in for application reporting.

(Logical change 1.80)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@289 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 년 전
부모
커밋
00b8d9a1cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      exec/print.c

+ 1 - 1
exec/print.c

@@ -77,7 +77,6 @@ internal_log_printf_checkdebug (int level, char *string, ...)
 	va_end(ap);
 	va_end(ap);
 }
 }
 
 
-#ifdef DEBUG
 char *getSaNameT (SaNameT *name)
 char *getSaNameT (SaNameT *name)
 {
 {
 	static char ret_name[300];
 	static char ret_name[300];
@@ -92,6 +91,7 @@ char *getSaNameT (SaNameT *name)
 	return (ret_name);
 	return (ret_name);
 }
 }
 
 
+#ifdef DEBUG
 extern char *getSaClmNodeAddressT (SaClmNodeAddressT *nodeAddress) {
 extern char *getSaClmNodeAddressT (SaClmNodeAddressT *nodeAddress) {
 	int i;
 	int i;
 	static char node_address[300];
 	static char node_address[300];