]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r359680: mail/gprof/tip: tap with the ugly stick
authorKyle Evans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 00:27:19 +0000 (00:27 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 10 Apr 2020 00:27:19 +0000 (00:27 +0000)
commit6e4bda8b281cd01a70a496f872223a5d94f7d0b4
treec507f787e9a40b361a9c4fd2c42ab0d04a886434
parent5da5db5ba85e2ac59fa5a050ba21a16de9754aeb
MFC r359680: mail/gprof/tip: tap with the ugly stick

The ugly stick here is this bit in the respective headers:

#ifndef EXTERN
#define EXTERN extern
#endif

with a follow-up #define EXTERN in a single .c file to push all of their
definitions into one spot. A pass should be made over these three later to
push these definitions into the correct files instead, but this will suffice
for now and at a more leisurely pace.
usr.bin/gprof/gprof.c
usr.bin/gprof/gprof.h
usr.bin/mail/glob.h
usr.bin/mail/main.c
usr.bin/mail/strings.c
usr.bin/tip/tip/tip.c
usr.bin/tip/tip/tip.h