aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 03:22:09 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-14 03:22:09 +0000
commit2e70fd87205ec4f9c775075b807c65e3703145e3 (patch)
tree6014218b3fa6812e6c3c5b552f2906650bfe2393 /include/asterisk
parenta0ad3a06ca404ffd0c75c2c8586fc8295afe0aa7 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@89266 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/hashtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/hashtab.h b/include/asterisk/hashtab.h
index c514d72b4..0f8e1f9ad 100644
--- a/include/asterisk/hashtab.h
+++ b/include/asterisk/hashtab.h
@@ -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 *