freebsd-skq/usr.sbin/sa
Dimitry Andric 3bb4600164 Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:
usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
        key.data = (void*)&VERSION_KEY;
                          ^
usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
        key.data = (void*)&VERSION_KEY;
                          ^

Replace the VERSION_KEY define with a writable char array, so no const
qualifier needs to be dropped anymore.

Submitted by:	rdivacky
2015-01-28 22:22:49 +00:00
..
tests
db.c Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c: 2015-01-28 22:22:49 +00:00
extern.h
main.c
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
pathnames.h
pdb.c
sa.8 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
usrdb.c