From: Christophe Jaillet Date: Mon, 14 Jul 2014 09:05:27 +0000 (+0000) Subject: Remove some 'register' in variable declaration. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2628cca8ee56f25757bcafdd36924d2efe1d50f;p=thirdparty%2Fapache%2Fhttpd.git Remove some 'register' in variable declaration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610366 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 3d36c77b810..79f83d73f4e 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1416,7 +1416,7 @@ static char *terminate_description(autoindex_config_rec *d, char *desc, apr_int32_t autoindex_opts, int desc_width) { int maxsize = desc_width; - register int x; + int x; /* * If there's no DescriptionWidth in effect, default to the old diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c index addd033ec33..3005add5b0e 100644 --- a/modules/proxy/mod_proxy_ftp.c +++ b/modules/proxy/mod_proxy_ftp.c @@ -448,7 +448,7 @@ static apr_status_t proxy_send_dir_filter(ap_filter_t *f, apr_bucket_brigade *out = apr_brigade_create(p, c->bucket_alloc); apr_status_t rv; - register int n; + int n; char *dir, *path, *reldir, *site, *str, *type; const char *pwd = apr_table_get(r->notes, "Directory-PWD"); diff --git a/support/htdigest.c b/support/htdigest.c index f76036d7a5b..972fa82d209 100644 --- a/support/htdigest.c +++ b/support/htdigest.c @@ -92,7 +92,7 @@ static void getword(char *word, char *line, char stop) static int get_line(char *s, int n, apr_file_t *f) { - register int i = 0; + int i = 0; char ch; apr_status_t rv = APR_EINVAL;