Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/factor factor: usage(): mark __dead
details: https://anonhg.NetBSD.org/src/rev/8b3b3e59ad08
branches: trunk
changeset: 944631:8b3b3e59ad08
user: tnn <tnn%NetBSD.org@localhost>
date: Mon Oct 05 12:22:49 2020 +0000
description:
factor: usage(): mark __dead
diffstat:
games/factor/factor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e744a5e38b11 -r 8b3b3e59ad08 games/factor/factor.c
--- a/games/factor/factor.c Mon Oct 05 11:29:36 2020 +0000
+++ b/games/factor/factor.c Mon Oct 05 12:22:49 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: factor.c,v 1.31 2020/10/04 19:32:15 christos Exp $ */
+/* $NetBSD: factor.c,v 1.32 2020/10/05 12:22:49 tnn Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@
__SCCSID("@(#)factor.c 8.4 (Berkeley) 5/4/95");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: factor.c,v 1.31 2020/10/04 19:32:15 christos Exp $");
+__RCSID("$NetBSD: factor.c,v 1.32 2020/10/05 12:22:49 tnn Exp $");
#endif
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/usr.bin/factor/factor.c 356666 2020-01-12 20:25:11Z gad $");
@@ -117,7 +117,7 @@
static bool is_hex_str(char *);
static void pr_fact(BIGNUM *, int, int); /* print factors of a value */
static void pr_print(BIGNUM *, int); /* print a prime */
-static void usage(void);
+static void usage(void) __dead;
static BN_CTX *ctx; /* just use a global context */
Home |
Main Index |
Thread Index |
Old Index