Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/factor remove duplicated #defines (in a usually unused...
details: https://anonhg.NetBSD.org/src/rev/2bf0675b2c25
branches: trunk
changeset: 771114:2bf0675b2c25
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Nov 09 20:17:44 2011 +0000
description:
remove duplicated #defines (in a usually unused part of the code)
diffstat:
games/factor/factor.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r f1c4819660c4 -r 2bf0675b2c25 games/factor/factor.c
--- a/games/factor/factor.c Wed Nov 09 19:43:22 2011 +0000
+++ b/games/factor/factor.c Wed Nov 09 20:17:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: factor.c,v 1.25 2011/05/23 22:49:59 joerg Exp $ */
+/* $NetBSD: factor.c,v 1.26 2011/11/09 20:17:44 drochner Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)factor.c 8.4 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: factor.c,v 1.25 2011/05/23 22:49:59 joerg Exp $");
+__RCSID("$NetBSD: factor.c,v 1.26 2011/11/09 20:17:44 drochner Exp $");
#endif
#endif /* not lint */
@@ -82,9 +82,6 @@
#define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
#define BN_is_zero(v) (*(v) == 0)
#define BN_is_one(v) (*(v) == 1)
-#define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
-#define BN_is_zero(v) (*(v) == 0)
-#define BN_is_one(v) (*(v) == 1)
#define BN_mod_word(a, b) (*(a) % (b))
#endif
Home |
Main Index |
Thread Index |
Old Index