projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the now unused SOprint().
[mmh]
/
uip
/
mhshow.c
diff --git
a/uip/mhshow.c
b/uip/mhshow.c
index
1f37c0e
..
a1fff55
100644
(file)
--- a/
uip/mhshow.c
+++ b/
uip/mhshow.c
@@
-12,7
+12,6
@@
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
@@
-52,23
+51,17
@@
static struct swit switches[] = {
{ "version", 0 },
#define HELPSW 13
{ "help", 0 },
{ "version", 0 },
#define HELPSW 13
{ "help", 0 },
-
/*
** switches for moreproc/mhlproc
*/
/*
** switches for moreproc/mhlproc
*/
-#define PROGSW 16
+#define PROGSW 14
{ "moreproc program", -4 },
{ "moreproc program", -4 },
-#define NPROGSW 17
- { "nomoreproc", -3 },
-#define LENSW 18
- { "length lines", -4 },
-#define WIDTHSW 19
+#define WIDTHSW 15
{ "width columns", -4 },
{ "width columns", -4 },
-
/*
** switches for debugging
*/
/*
** switches for debugging
*/
-#define DEBUGSW 20
+#define DEBUGSW 16
{ "debug", -5 },
{ NULL, 0 }
};
{ "debug", -5 },
{ NULL, 0 }
};
@@
-87,7
+80,6
@@
extern char *cache_private;
extern int serialsw;
extern char *progsw;
extern int nolist;
extern int serialsw;
extern char *progsw;
extern int nolist;
-extern int nomore; /* flags for moreproc/header display */
extern char *formsw;
/* mhmisc.c */
extern char *formsw;
/* mhmisc.c */
@@
-246,11
+238,7
@@
do_cache:
adios(NULL, "missing argument to %s",
argp[-2]);
continue;
adios(NULL, "missing argument to %s",
argp[-2]);
continue;
- case NPROGSW:
- nomore++;
- continue;
- case LENSW:
case WIDTHSW:
if (!(cp = *argp++) || *cp == '-')
adios(NULL, "missing argument to %s",
case WIDTHSW:
if (!(cp = *argp++) || *cp == '-')
adios(NULL, "missing argument to %s",