hexdump: remove deprecation message

Message 'calling hexdump as od has been deprecated in favor of GNU
coreutils od' has informed the hexdump not to be used like that for three
and half years, and five releases.  It is time to get rid of notice.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
textual: fix couple typos in comments

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
flock: add error message to translations

And remove type casting.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
textual: use version printing macro everywhere

Only mount, umount, and blkid remains not using the macro because they
are print also library references.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
textual: use manual tail usage() macro

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
textual: use usage() text element macros

Translating these text elements should happen only once, which is
more likely when the text macros are used properly.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libuuid: remove _SVID_SOURCE pre-processor definition

The _SVID_SOURCE is deprecated.

In file included from /usr/include/stdio.h:27:0,
                 from libuuid/src/gen_uuid.c:46: /usr/include/features.h:148:3:
		      warning: #warning "_BSD_SOURCE and _SVID_SOURCE are
		      deprecated, use _DEFAULT_SOURCE" [-Wcpp]

Notice that the Makefile.am has

AM_CPPFLAGS = \
        -include config.h \

that enforces the config.h is included before any other hearer.  In the
configure.ac there is AC_USE_SYSTEM_EXTENSIONS that makes all possible
features that can be supported in a system are turned on.  With these two
there is absolutely no need for any legacy _SOURCE definitions.

Reference: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=c941736c92fa3a319221f65f6755659b2a5e0a20
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include: fix compiler warnings

This change has motivation to make -Wall -pedantic compiler options to
spit a little bit less noise, which with luck will increase change to
notice real issues.

Multiple of these:

warning: ISO C forbids braced-groups within expressions [-Wpedantic]

And nearly 300 times reported:

include/c.h:75:41: warning: struct has no named members [-Wpedantic]
 #define UL_BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lsblk: fix compiler warning

warning: ISO C forbids empty initializer braces [-Wpedantic]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libblkid: use pre-processor to optimize out code

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libblkid: fix implicit constant conversion warning

warning: overflow in implicit constant conversion [-Woverflow]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/debug: remove duplicate 'const' declaration warning

./include/debug.h:89:55: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
cfdisk: add missing initializers to struct main_menuitems

disk-utils/cfdisk.c:149:77: warning: missing field 'userdata' initializer [-Wmissing-field-initializers]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
findmnt: add missing initializers to struct colinfo

warning: missing field 'match' initializer [-Wmissing-field-initializers]
warning: missing field 'match_data' initializer [-Wmissing-field-initializers]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lsblk: add missing initializers to struct colinfo

warning: missing field 'sort_type' initializer [-Wmissing-field-initializers]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
hwclock: use fabs() instead abs() when argument is double

sys-utils/hwclock.c:1219:13: warning: using integer absolute value function
      'abs' when argument is of floating point type [-Wabsolute-value]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lscpu: add missing initializers to struct lscpu_coldesc

warning: missing field 'is_abbr' initializer [-Wmissing-field-initializers]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libsmartcols: add explicit column flags default

Useful when initializing without any specific action in mind, or when
reseting flags later on.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lslogins: add missing initializers to struct lslogins_coldesc

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lslogins: use more narrow layout when initializing struct members

This is more readable for normal size (24x80) terminals, and has
advantage to make each of the field members to be version controlled in
separate lines.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>