]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mail/gprof/tip: tap with the ugly stick
authorKyle Evans <kevans@FreeBSD.org>
Mon, 6 Apr 2020 23:28:24 +0000 (23:28 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Mon, 6 Apr 2020 23:28:24 +0000 (23:28 +0000)
commita86ddfe8c760be83b1322fe8ba3a3568421adb1f
treeaa7019fe2563345738573361cc0960bab76db543
parent76fd19b0a2a878e70c0fa789165d91e944cf42b2
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.

MFC after: 3 days
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