summaryrefslogtreecommitdiff
path: root/usr.bin/dc/bcode.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2012-11-06 16:00:06 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2012-11-06 16:00:06 +0000
commit1d5f463e7fbbc11202042c2f8d413be0dbae7f41 (patch)
tree73c915e8a57e67373a8ef6b62e1de9cdd02fd04b /usr.bin/dc/bcode.h
parentfb94c61c9f9791a63d39aa71686f2b63a7ade905 (diff)
use BN_set_negative() and BN_is_negative() instead of subtracting or
comparing to zero
Diffstat (limited to 'usr.bin/dc/bcode.h')
-rw-r--r--usr.bin/dc/bcode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/dc/bcode.h b/usr.bin/dc/bcode.h
index a6d2291c79b..ea7c2980dc9 100644
--- a/usr.bin/dc/bcode.h
+++ b/usr.bin/dc/bcode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcode.h,v 1.5 2006/01/16 08:09:25 otto Exp $ */
+/* $OpenBSD: bcode.h,v 1.6 2012/11/06 16:00:05 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -94,5 +94,3 @@ void negate(struct number *);
void split_number(const struct number *, BIGNUM *, BIGNUM *);
void bmul_number(struct number *, struct number *,
struct number *);
-
-extern BIGNUM zero;