]> git.marmaro.de Git - mmh/blobdiff - uip/dp.c
Cleaned up test-utf8-body a bit.
[mmh] / uip / dp.c
index c94c8eac0ccfb33cf48e69b9e15c1e729b39b492..a66beed827644763d04cb46572cedef496b1c6ed 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -36,11 +36,6 @@ static struct format *fmt;
 
 static int dat[5];
 
-/*
- * prototypes
- */
-int sc_width (void);  /* from termsbr.c */
-
 /*
  * static prototypes
  */
@@ -79,10 +74,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [switches] dates ...",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case FORMSW: 
                    if (!(form = *argp++) || *form == '-')