dect
/
asterisk
Archived
13
0
Fork 0

ensure that format string macros are undef'd after use (bug #4716)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6139 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2005-07-15 16:13:26 +00:00
parent 552eab0954
commit 6b622ff869
3 changed files with 6 additions and 2 deletions

View File

@ -204,6 +204,7 @@ static int group_show_channels(int fd, int argc, char *argv[])
ast_cli(fd, "%d active channel%s\n", numchans, (numchans != 1) ? "s" : "");
return RESULT_SUCCESS;
#undef FORMAT_STRING
}
static char *tdesc = "Group Management Routines";

View File

@ -9494,9 +9494,9 @@ static int zap_show_status(int fd, int argc, char *argv[]) {
}
close(ctl);
#undef FORMAT
#undef FORMAT2
return RESULT_SUCCESS;
#undef FORMAT
#undef FORMAT2
}
static char show_channels_usage[] =

3
file.c
View File

@ -1223,6 +1223,9 @@ static int show_file_formats(int fd, int argc, char *argv[])
};
ast_mutex_unlock(&formatlock);
return RESULT_SUCCESS;
#undef FORMAT
#undef FORMAT2
}
struct ast_cli_entry show_file =