Whamcloud - gitweb
LU-4423 lnet: Avoid forward declarations in nidstring.c 84/15084/2
authorSören Brinkmann <soeren.brinkmann@gmail.com>
Fri, 29 May 2015 23:57:14 +0000 (19:57 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jun 2015 03:01:14 +0000 (03:01 +0000)
Backport of a patch from upstream  to remove some
forward declarations in nidstring.c. It appears
forward declarations are frowned on.

--------------------------------------------------------------
Linux commit: fd17846d8d6acf991c660ed3498031c6451db61d

staging: lustre: libcfs/nidstrings: Avoid forward declarations

Avoid forward declarations by moving functions to a location
before they are referenced.

Signed-off-by: Sören Brinkmann <soeren.brinkmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---------------------------------------------------------------
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Change-Id: Ifeb5c6d61736b9d166966e76bb2a0224d77b602e
Reviewed-on: http://review.whamcloud.com/15084
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found