From: Lukas Fleischer Date: Tue, 5 Mar 2013 15:48:27 +0000 (+0100) Subject: ui-summary.c: Move urls variable into print_urls() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/977a3ad7bf212e6ec7f43c16763321061ee64a69?hp=977a3ad7bf212e6ec7f43c16763321061ee64a69 ui-summary.c: Move urls variable into print_urls() There's no need for this variable to be global. Printing the header in print_urls() instead of print_url() allows for moving this variable into print_urls() without having to pass any status to print_url(). Note that this only works as long as we don't call print_urls() more than once. Signed-off-by: Lukas Fleischer ---