Fix up various coding guidelines issues ...

- handle memory allocation failures
 - add an ast_ prefix to a publicly exported function
 - put curly braces in the right places
 - add a bunch of spaces where they should be be used


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-11-14 03:22:09 +00:00
parent 51377db4a5
commit d3414c7552
2 changed files with 189 additions and 140 deletions

View File

@@ -107,7 +107,7 @@ struct ast_hashtab_iter
/* some standard, default routines for general use */
/*! \brief For sizing the hash table, tells if num is prime or not */
int isPrime(int num);
int ast_is_prime(int num);
/*!
* \brief assumes a and b are char *