svn commit: r319031 - head/lib/libc/tests/nss

Ngie Cooper ngie at FreeBSD.org
Sun May 28 03:58:38 UTC 2017


Author: ngie
Date: Sun May 28 03:58:36 2017
New Revision: 319031
URL: https://svnweb.freebsd.org/changeset/base/319031

Log:
  getusershell_test: staticize run_tests(..) to fix warnings
  
  MFC after:	3 days
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libc/tests/nss/getusershell_test.c

Modified: head/lib/libc/tests/nss/getusershell_test.c
==============================================================================
--- head/lib/libc/tests/nss/getusershell_test.c	Sun May 28 03:47:58 2017	(r319030)
+++ head/lib/libc/tests/nss/getusershell_test.c	Sun May 28 03:58:36 2017	(r319031)
@@ -132,7 +132,7 @@ usershell_read_snapshot_func(struct user
 	return (0);
 }
 
-int
+static int
 run_tests(const char *snapshot_file, enum test_methods method)
 {
 	struct usershell_test_data td, td_snap;


More information about the svn-src-all mailing list