]> granicus.if.org Git - apache/commitdiff
Still lots to apr'ize here.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 11 Feb 2001 21:00:04 +0000 (21:00 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 11 Feb 2001 21:00:04 +0000 (21:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88095 13f79535-47bb-0310-9956-ffa450edef68

support/htpasswd.c

index ffed84f63472c96d84f28bd894c8a5405b2e06da..ed5c071c51c8e2c9947506f063ccfef542e8fa52 100644 (file)
@@ -85,6 +85,7 @@
 #include "apr_errno.h"
 #include "apr_file_io.h"
 #include "apr_general.h"
+#include "apr_signal.h"
 
 #if APR_HAVE_STDIO_H
 #include <stdio.h>
@@ -92,9 +93,6 @@
 
 #include "apr_md5.h"
 #include "apr_sha1.h"
-#if APR_HAVE_SIGNAL_H
-#include <signal.h>
-#endif
 #include <time.h>
 
 #if APR_HAVE_CRYPT_H
@@ -422,7 +420,7 @@ int main(int argc, char *argv[])
 #endif /*APR_CHARSET_EBCDIC*/
 
     tempfilename = NULL;
-    signal(SIGINT, (void (*)(int)) interrupted);
+    apr_signal(SIGINT, (void (*)(int)) interrupted);
 
     /*
      * Preliminary check to make sure they provided at least