summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-17 14:34:23 +0000
committerJim Meyering <jim@meyering.net>2005-03-17 14:34:23 +0000
commita26f414348925cfe9732ed044afa30a09768068d (patch)
tree8cfd7ae195a3f47ed71f6854bd8a0c1fe58db11b /src/od.c
parentc74255c9b61d7ce2fb93f33ff919bb76cfe6eb4a (diff)
downloadcoreutils-a26f414348925cfe9732ed044afa30a09768068d.tar.xz
Use VERIFY macro in place of an equivalent open-coded declaration.
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/od.c b/src/od.c
index dc9ae1f9c..f57eb1a14 100644
--- a/src/od.c
+++ b/src/od.c
@@ -1,5 +1,5 @@
/* od -- dump files in octal and other formats
- Copyright (C) 92, 1995-2004 Free Software Foundation, Inc.
+ Copyright (C) 92, 1995-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -163,11 +163,8 @@ static const int width_bytes[] =
/* Ensure that for each member of `enum size_spec' there is an
initializer in the width_bytes array. */
-struct dummy
-{
- int assert_width_bytes_matches_size_spec_decl
- [sizeof width_bytes / sizeof width_bytes[0] == N_SIZE_SPECS ? 1 : -1];
-};
+VERIFY (assert_width_bytes_matches_size_spec_decl,
+ sizeof width_bytes / sizeof width_bytes[0] == N_SIZE_SPECS);
/* Names for some non-printing characters. */
static const char *const charname[33] =