You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/12/23 09:55:45 UTC

svn commit: r1425444 - /httpd/httpd/trunk/include/httpd.h

Author: sf
Date: Sun Dec 23 08:55:45 2012
New Revision: 1425444

URL: http://svn.apache.org/viewvc?rev=1425444&view=rev
Log:
add some nonnull fn attributes

Modified:
    httpd/httpd/trunk/include/httpd.h

Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1425444&r1=1425443&r2=1425444&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Sun Dec 23 08:55:45 2012
@@ -2243,13 +2243,15 @@ AP_DECLARE(void *) ap_realloc(void *ptr,
  * 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_loada
  * @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