projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Ignore!) Removed a trailing whitespace line, just for a test.
[mmh]
/
uip
/
fmtdump.c
diff --git
a/uip/fmtdump.c
b/uip/fmtdump.c
index
923a46e
..
fc94247
100644
(file)
--- a/
uip/fmtdump.c
+++ b/
uip/fmtdump.c
@@
-15,7
+15,7
@@
static struct swit switches[] = {
#define FORMSW 0
{ "form formatfile", 0 },
#define VERSIONSW 1
#define FORMSW 0
{ "form formatfile", 0 },
#define VERSIONSW 1
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 2
{ "help", 0 },
{ NULL, 0 }
#define HELPSW 2
{ "help", 0 },
{ NULL, 0 }
@@
-42,9
+42,8
@@
static void litputc(char);
int
main(int argc, char **argv)
{
int
main(int argc, char **argv)
{
- int ncomps;
char *cp, *form = NULL;
char *cp, *form = NULL;
- char buf[BUFSIZ], *nfs, **argp, **arguments;
+ char buf[BUFSIZ], *fmtstr, **argp, **arguments;
struct format *fmt;
#ifdef LOCALE
struct format *fmt;
#ifdef LOCALE
@@
-93,8
+92,8
@@
main(int argc, char **argv)
/*
** Get new format string. Must be before chdir().
*/
/*
** Get new format string. Must be before chdir().
*/
- nfs = new_fs(form, FORMAT);
- ncomps = fmt_compile(nfs, &fmt);
+ fmtstr = new_fs(form, FORMAT);
+ fmt_compile(fmtstr, &fmt);
fmt_dump(fmt);
done(0);
fmt_dump(fmt);
done(0);