1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Leave out unused static function definitions when TESTING is defined.

This commit is contained in:
micah 2007-08-27 12:07:26 -07:00
parent 248cb3e907
commit c508cd63e1
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@
delimiter after licensing text.
* recur.c (retrieve_tree): Inserted missing cast for strip_auth.
* openssl.c (ssl_init): const-ified the meth local variable.
* main.c: Include all the static function definitions in the
"#ifndef TESTING" clause, leaving just the definitions for
exec_name (not set), and opt.
2007-08-27 Micah Cowan <micah@cowan.name>

View File

@ -71,6 +71,7 @@ static void redirect_output_signal (int);
const char *exec_name;
#ifndef TESTING
/* Initialize I18N/L10N. That amounts to invoking setlocale, and
setting up gettext's message catalog using bindtextdomain and
textdomain. Does nothing if NLS is disabled or missing. */
@ -679,7 +680,6 @@ There is NO WARRANTY, to the extent permitted by law.\n"), stdout);
exit (0);
}
#ifndef TESTING
int
main (int argc, char *const *argv)
{