Index: bin/ksh/emacs.c
===================================================================
RCS file: /cvs/src/bin/ksh/emacs.c,v
retrieving revision 1.60
diff -u -p -r1.60 emacs.c
--- bin/ksh/emacs.c 19 Oct 2015 14:42:16 -0000 1.60
+++ bin/ksh/emacs.c 27 Oct 2015 16:02:38 -0000
@@ -42,8 +42,7 @@ struct x_ftab {
};
#define XF_ARG 1 /* command takes number prefix */
-#define XF_NOBIND 2 /* not allowed to bind to function */
-#define XF_PREFIX 4 /* function sets prefix */
+#define XF_NOBIND 2 /* not allowed to bind to function */
/* Separator for completion */
#define is_cfs(c) (c == ' ' || c == '\t' || c == '"' || c == '\'')
Index: sbin/fsck_ext2fs/setup.c
===================================================================
RCS file: /cvs/src/sbin/fsck_ext2fs/setup.c,v
retrieving revision 1.29
diff -u -p -r1.29 setup.c
--- sbin/fsck_ext2fs/setup.c 15 Oct 2015 15:11:10 -0000 1.29
+++ sbin/fsck_ext2fs/setup.c 27 Oct 2015 16:03:01 -0000
@@ -54,8 +54,6 @@
#include "extern.h"
#include "fsutil.h"
-#define POWEROF2(num) (((num) & ((num) - 1)) == 0)
-
void badsb(int, char *);
int calcsb(char *, int, struct m_ext2fs *, struct disklabel *);
static struct disklabel *getdisklabel(char *, int);
Index: sbin/restore/interactive.c
===================================================================
RCS file: /cvs/src/sbin/restore/interactive.c,v
retrieving revision 1.30
diff -u -p -r1.30 interactive.c
--- sbin/restore/interactive.c 20 Jan 2015 18:22:21 -0000 1.30
+++ sbin/restore/interactive.c 27 Oct 2015 16:03:01 -0000
@@ -50,8 +50,6 @@
#include "restore.h"
#include "extern.h"
-#define round(a, b) (((a) + (b) - 1) / (b) * (b))
-
/*
* Things to handle interruptions.
*/
Index: sbin/route/show.c
===================================================================
RCS file: /cvs/src/sbin/route/show.c,v
retrieving revision 1.102
diff -u -p -r1.102 show.c
--- sbin/route/show.c 23 Oct 2015 15:03:25 -0000 1.102
+++ sbin/route/show.c 27 Oct 2015 16:03:01 -0000
@@ -60,7 +60,6 @@ char *label_print(struct sockaddr *);
#define ROUNDUP(a) \
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
-#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
/*
* Definitions for showing gateway flags.
Index: usr.bin/compress/main.c
===================================================================
RCS file: /cvs/src/usr.bin/compress/main.c,v
retrieving revision 1.90
diff -u -p -r1.90 main.c
--- usr.bin/compress/main.c 17 Oct 2015 21:34:07 -0000 1.90
+++ usr.bin/compress/main.c 27 Oct 2015 16:03:06 -0000
@@ -48,8 +48,6 @@
#include <paths.h>
#include "compress.h"
-#define min(a,b) ((a) < (b)? (a) : (b))
-
int cat, decomp, pipin, force, verbose, testmode, list, recurse, storename;
extern char *__progname;
Index: usr.bin/vi/vi/vs_refresh.c
===================================================================
RCS file: /cvs/src/usr.bin/vi/vi/vs_refresh.c,v
retrieving revision 1.19
diff -u -p -r1.19 vs_refresh.c
--- usr.bin/vi/vi/vs_refresh.c 12 Nov 2014 04:28:41 -0000 1.19
+++ usr.bin/vi/vi/vs_refresh.c 27 Oct 2015 16:03:07 -0000
@@ -875,7 +875,6 @@ vs_modeline(SCR *sp)
* line as possible, but guaranteeing at least two spaces between the
* ruler and the modified flag.
*/
-#define MODESIZE 9
endpoint = cols;
if (O_ISSET(sp, O_SHOWMODE)) {
if (F_ISSET(sp->ep, F_MODIFIED))