summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-19 19:00:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-19 19:00:37 +0000
commitc6c7e6c390c1d518a33fbf32cf4d8ff0cd2bd3e3 (patch)
treeb0a855d49d76d696ee4def864b8966a0088d7af4 /usr.bin
parent07cd197bab1287df05b42f7b4a16b3ab987a4b83 (diff)
spaces
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/dc/bcode.c24
-rw-r--r--usr.bin/dc/dc.c6
-rw-r--r--usr.bin/dc/inout.c6
-rw-r--r--usr.bin/dc/stack.c6
4 files changed, 21 insertions, 21 deletions
diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c
index 320ec49c088..68a1a9b58d2 100644
--- a/usr.bin/dc/bcode.c
+++ b/usr.bin/dc/bcode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcode.c,v 1.1 2003/09/19 17:58:25 otto Exp $ */
+/* $OpenBSD: bcode.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: bcode.c,v 1.1 2003/09/19 17:58:25 otto Exp $";
+static const char rcsid[] = "$OpenBSD: bcode.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $";
#endif /* not lint */
#include <ssl/ssl.h>
@@ -42,7 +42,7 @@ struct bmachine {
u_int ibase;
int readsp;
struct stack reg[UCHAR_MAX];
- struct source readstack[MAX_RECURSION];
+ struct source readstack[MAX_RECURSION];
};
static struct bmachine bmachine;
@@ -1024,7 +1024,7 @@ bexp(void)
if (scale > m || b == BN_MASK2)
scale = m;
}
-
+
if (BN_is_zero(p->number)) {
r = new_number();
bn_check(BN_one(r->number));
@@ -1159,7 +1159,7 @@ not_compare(void)
case '=':
not_equal();
break;
- default:
+ default:
unreadch();
bexec(readline());
break;
@@ -1219,19 +1219,19 @@ compare(enum bcode_compare type)
ok = false;
switch (type) {
- case BCODE_EQUAL:
+ case BCODE_EQUAL:
ok = cmp == 0;
break;
- case BCODE_NOT_EQUAL:
+ case BCODE_NOT_EQUAL:
ok = cmp != 0;
break;
- case BCODE_LESS:
+ case BCODE_LESS:
ok = cmp < 0;
break;
- case BCODE_NOT_LESS:
+ case BCODE_NOT_LESS:
ok = cmp >= 0;
break;
- case BCODE_GREATER:
+ case BCODE_GREATER:
ok = cmp > 0;
break;
case BCODE_NOT_GREATER:
@@ -1266,10 +1266,10 @@ nop(void)
{
}
-static void
+static void
quit(void)
{
- if (bmachine.readsp < 2)
+ if (bmachine.readsp < 2)
exit(0);
src_free();
bmachine.readsp--;
diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c
index 70c6d3b3aa0..47972898030 100644
--- a/usr.bin/dc/dc.c
+++ b/usr.bin/dc/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.1 2003/09/19 17:58:25 otto Exp $ */
+/* $OpenBSD: dc.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: dc.c,v 1.1 2003/09/19 17:58:25 otto Exp $";
+static const char rcsid[] = "$OpenBSD: dc.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $";
#endif /* not lint */
#include <err.h>
@@ -28,7 +28,7 @@ static const char rcsid[] = "$OpenBSD: dc.c,v 1.1 2003/09/19 17:58:25 otto Exp $
static __dead void usage(void);
-extern char *__progname;
+extern char *__progname;
static __dead void
usage(void)
diff --git a/usr.bin/dc/inout.c b/usr.bin/dc/inout.c
index d3a9fb553df..7b00b4e2ffc 100644
--- a/usr.bin/dc/inout.c
+++ b/usr.bin/dc/inout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inout.c,v 1.1 2003/09/19 17:58:25 otto Exp $ */
+/* $OpenBSD: inout.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: inout.c,v 1.1 2003/09/19 17:58:25 otto Exp $";
+static const char rcsid[] = "$OpenBSD: inout.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $";
#endif /* not lint */
#include <ssl/ssl.h>
@@ -245,7 +245,7 @@ get_digit(u_long num, int digits, u_int base)
char *p;
if (base <= 16) {
p = bmalloc(2);
- p[0] = num >= 10 ? num + 'A' - 10 : num + '0';
+ p[0] = num >= 10 ? num + 'A' - 10 : num + '0';
p[1] = '\0';
} else {
if (asprintf(&p, "%0*lu", digits, num) == -1)
diff --git a/usr.bin/dc/stack.c b/usr.bin/dc/stack.c
index 4aa831271a6..5dd9e8e4194 100644
--- a/usr.bin/dc/stack.c
+++ b/usr.bin/dc/stack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stack.c,v 1.1 2003/09/19 17:58:25 otto Exp $ */
+/* $OpenBSD: stack.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: stack.c,v 1.1 2003/09/19 17:58:25 otto Exp $";
+static const char rcsid[] = "$OpenBSD: stack.c,v 1.2 2003/09/19 19:00:36 deraadt Exp $";
#endif /* not lint */
#include <err.h>
@@ -283,7 +283,7 @@ array_dup(const struct array *a)
return NULL;
n = array_new();
array_grow(n, a->size);
- for (i = 0; i < a->size; i++)
+ for (i = 0; i < a->size; i++)
stack_dup_value(&a->data[i], &n->data[i]);
return n;
}