summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-12-23 09:55:45 +0100
committerStefan Fritsch <sf@apache.org>2012-12-23 09:55:45 +0100
commit25f0a51a2128c8cdf518dda050fe01bb41e34675 (patch)
treef2263b32d9c5c1d2887336d5e7e821ba9c285c20 /include
parentChange HttpProtocol to again only allow to enable/disable 0.9 (diff)
downloadapache2-25f0a51a2128c8cdf518dda050fe01bb41e34675.tar.xz
apache2-25f0a51a2128c8cdf518dda050fe01bb41e34675.zip
add some nonnull fn attributes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 4d12b3d506..2b82754a90 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -2243,13 +2243,15 @@ AP_DECLARE(void *) ap_realloc(void *ptr, size_t size)
* Get server load params
* @param ld struct to populate: -1 in fields means error
*/
-AP_DECLARE(void) ap_get_sload(ap_sload_t *ld);
+AP_DECLARE(void) ap_get_sload(ap_sload_t *ld)
+ AP_FN_ATTR_NONNULL_ALL;
/**
* Get server load averages (ala getloadavg)
* @param ld struct to populate: -1 in fields means error
*/
-AP_DECLARE(void) ap_get_loadavg(ap_loadavg_t *ld);
+AP_DECLARE(void) ap_get_loadavg(ap_loadavg_t *ld)
+ AP_FN_ATTR_NONNULL_ALL;
/**
* Convert binary data into a hex string
@@ -2258,7 +2260,8 @@ AP_DECLARE(void) ap_get_loadavg(ap_loadavg_t *ld);
* @param dest pointer to buffer of length (2 * srclen + 1). The resulting
* string will be NUL-terminated.
*/
-AP_DECLARE(void) ap_bin2hex(const void *src, apr_size_t srclen, char *dest);
+AP_DECLARE(void) ap_bin2hex(const void *src, apr_size_t srclen, char *dest)
+ AP_FN_ATTR_NONNULL_ALL;
#define AP_NORESTART APR_OS_START_USEERR + 1