]> granicus.if.org Git - apache/commitdiff
cleanups need to return apr_status_t
authorJeff Trawick <trawick@apache.org>
Sat, 3 Feb 2001 00:32:20 +0000 (00:32 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 3 Feb 2001 00:32:20 +0000 (00:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87963 13f79535-47bb-0310-9956-ffa450edef68

server/scoreboard.c

index c50a5494e75df1ef456c0ad6f93aa3e266244036..132109f9286a956da9694c2b0ada9b95182a4d12 100644 (file)
@@ -142,9 +142,9 @@ AP_DECLARE(void) reopen_scoreboard(apr_pool_t *p)
 /* ap_cleanup_scoreboard
  * 
  */
-static void ap_cleanup_scoreboard(void *d) {
+static apr_status_t ap_cleanup_scoreboard(void *d) {
     if (ap_scoreboard_image == NULL)
-        return;
+        return APR_SUCCESS;
     if (ap_scoreboard_image->global.sb_type == SB_SHARED) {
         ap_cleanup_shared_mem(NULL);
     }
@@ -152,6 +152,7 @@ static void ap_cleanup_scoreboard(void *d) {
         free(ap_scoreboard_image);
         ap_scoreboard_image = NULL;
     }
+    return APR_SUCCESS;
 }
 
 /* ap_create_scoreboard(apr_pool_t*, ap_scoreboard_e t)