ibdiag_common.c: Move static to beginning of get_build_version declaration
PATCH 1/1 ibdiag_common.c: Move static to beginning of get_build_version declaration
Eliminate compiler warning:src/ibdiag_common.c:85: warning: ?static? is not at beginning of declaration
---
src/ibdiag_common.c +1 -1
@@ -82,7 +82,7 @@ static const char **prog_examples;static struct option *long_opts =NULL ;static const struct ibdiag_opt *opts_map[256 ]; -const static char *get_build_version (void ) +static const char *get_build_version (void ) {return "BUILD VERSION: " IBDIAG_VERSION " Build date: " __DATE__" " __TIME__;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 561BA81B.9040902-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
ira.weiny
AppliedQuoted 5 lines · Hal Rosenstock
Eliminate compiler warning:
src/ibdiag_common.c:85: warning: ?static? is not at beginning of declaration
Thanks applied,
Ira
Quoted 6 lines
---
src/ibdiag_common.c +0
-0
src/ibdiag_common.c static const char **prog_examples; · line 88
Quoted 8 lines
src/ibdiag_common.c +1
-1@@ -82,7 +82,7 @@ static const char **prog_examples;static struct option *long_opts =NULL ;static const struct ibdiag_opt *opts_map[256 ]; -const static char *get_build_version (void ) +static const char *get_build_version (void ) {return "BUILD VERSION: " IBDIAG_VERSION " Build date: " __DATE__" " __TIME__;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html