Module Name: src Committed By: drochner Date: Wed Nov 9 20:17:44 UTC 2011
Modified Files: src/games/factor: factor.c Log Message: remove duplicated #defines (in a usually unused part of the code) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/games/factor/factor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/factor/factor.c diff -u src/games/factor/factor.c:1.25 src/games/factor/factor.c:1.26 --- src/games/factor/factor.c:1.25 Mon May 23 22:49:59 2011 +++ src/games/factor/factor.c Wed Nov 9 20:17:44 2011 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #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 @@ static int BN_dec2bn(BIGNUM **a, const c #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