Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 09:31:30 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318445 - head/libexec/rtld-elf
Message-ID:  <201705180931.v4I9VU5n039591@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu May 18 09:31:30 2017
New Revision: 318445
URL: https://svnweb.freebsd.org/changeset/base/318445

Log:
  Fix style [1], add static keyword before static function definition.
  
  Noted by:	bapt [1]
  Sponsored by:	The FreeBSD Foundation
  MFC after:	2 weeks

Modified:
  head/libexec/rtld-elf/rtld.c

Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c	Thu May 18 08:25:07 2017	(r318444)
+++ head/libexec/rtld-elf/rtld.c	Thu May 18 09:31:30 2017	(r318445)
@@ -5378,7 +5378,8 @@ parse_integer(const char *str)
 	return (n);
 }
 
-void print_usage(const char *argv0)
+static void
+print_usage(const char *argv0)
 {
 
 	rtld_printf("Usage: %s [-h] [-f <FD>] [--] <binary> [<args>]\n"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705180931.v4I9VU5n039591>