From 882a30eddbd779564524aadf8436da5ea6640948 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 28 Mar 2005 17:39:21 +0000 Subject: spacing --- usr.bin/dc/bcode.c | 10 +++++----- usr.bin/dc/stack.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'usr.bin/dc') diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c index e57f2ec9b95..d863ef131a7 100644 --- a/usr.bin/dc/bcode.c +++ b/usr.bin/dc/bcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcode.c,v 1.27 2005/03/27 17:50:55 otto Exp $ */ +/* $OpenBSD: bcode.c,v 1.28 2005/03/28 17:39:20 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: bcode.c,v 1.27 2005/03/27 17:50:55 otto Exp $"; +static const char rcsid[] = "$OpenBSD: bcode.c,v 1.28 2005/03/28 17:39:20 deraadt Exp $"; #endif /* not lint */ #include @@ -307,7 +307,7 @@ src_free(void) #ifdef DEBUGGING void -pn(const char * str, const struct number *n) +pn(const char *str, const struct number *n) { char *p = BN_bn2dec(n->number); if (p == NULL) @@ -318,7 +318,7 @@ pn(const char * str, const struct number *n) } void -pbn(const char * str, const BIGNUM *n) +pbn(const char *str, const BIGNUM *n) { char *p = BN_bn2dec(n); if (p == NULL) @@ -1190,7 +1190,7 @@ bexp(void) negate(p); scale = bmachine.scale; } else { - /* Posix bc says min(a.scale * b, max(a.scale, scale) */ + /* Posix bc says min(a.scale *b, max(a.scale, scale) */ u_long b; u_int m; diff --git a/usr.bin/dc/stack.c b/usr.bin/dc/stack.c index 4dbb2a34e25..eecb035b9db 100644 --- a/usr.bin/dc/stack.c +++ b/usr.bin/dc/stack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stack.c,v 1.6 2003/11/26 19:30:52 otto Exp $ */ +/* $OpenBSD: stack.c,v 1.7 2005/03/28 17:39:20 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: stack.c,v 1.6 2003/11/26 19:30:52 otto Exp $"; +static const char rcsid[] = "$OpenBSD: stack.c,v 1.7 2005/03/28 17:39:20 deraadt Exp $"; #endif /* not lint */ #include @@ -44,7 +44,7 @@ stack_init(struct stack *stack) } static __inline bool -stack_empty(const struct stack * stack) +stack_empty(const struct stack *stack) { bool empty = stack->sp == -1; if (empty) @@ -97,7 +97,7 @@ stack_dup_value(const struct value *a, struct value *copy) } int -stack_size(const struct stack * stack) +stack_size(const struct stack *stack) { return stack->sp + 1; } @@ -197,7 +197,7 @@ stack_set_tos(struct stack *stack, struct value *v) stack_free_value(&stack->stack[stack->sp]); stack->stack[stack->sp] = *v; stack->stack[stack->sp].array = v->array == NULL ? - NULL : array_dup(v->array); + NULL : array_dup(v->array); } } -- cgit v1.2.3