]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Leave out unused static function definitions when TESTING is defined.
[wget] / src / main.c
index ab1786d7695fc9fdc6915c729344b5e2ff939c38..4f0c123c5bd1879d26cad1865c899f4002a6e019 100644 (file)
@@ -71,6 +71,7 @@ static void redirect_output_signal (int);
 
 const char *exec_name;
 \f
+#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);
 }
 \f
-#ifndef TESTING
 int
 main (int argc, char *const *argv)
 {