From b3b673241283570e3f12dbab8c70209f7705dcac Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 21 May 2018 04:51:43 +0000 Subject: [PATCH] top(1): remove prime.c This file was not connected to the build, and is better served by primes(6) anyways. --- usr.bin/top/prime.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 usr.bin/top/prime.c diff --git a/usr.bin/top/prime.c b/usr.bin/top/prime.c deleted file mode 100644 index b0d65424b5e0..000000000000 --- a/usr.bin/top/prime.c +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Prime number generator. It prints on stdout the next prime number - * higher than the number specified as argv[1]. - */ - -#include -#include - -main(argc, argv) - -int argc; -char *argv[]; - -{ - double i, j; - int f; - - if (argc < 2) - { - exit(1); - } - - i = atoi(argv[1]); - while (i++) - { - f=1; - for (j=2; j