summaryrefslogtreecommitdiff
path: root/include/asterisk/hashtab.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-11-14 03:22:09 +0000
committerRussell Bryant <russell@russellbryant.com>2007-11-14 03:22:09 +0000
commitd3414c7552012dac078288cc73e813a17a99e94d (patch)
tree6014218b3fa6812e6c3c5b552f2906650bfe2393 /include/asterisk/hashtab.h
parent51377db4a5aee233d3f51740fe6477a77142c21d (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: https://origsvn.digium.com/svn/asterisk/trunk@89266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/hashtab.h')
-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 *