]> git.openfabrics.org - ~shefty/rdma-win.git/commit
getopt: add const to interface
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 25 Feb 2009 19:27:09 +0000 (19:27 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 25 Feb 2009 19:27:09 +0000 (19:27 +0000)
commita93a1939f8d008e47a82681ee0a2ac8ec3f28c6d
treebf11728a5f28c3ccdd9a89e96ac88cd79f747448
parent9b907aef79325fc9a559e4c5d3eb327ad062d41e
getopt: add const to interface

Add const to getopt argv argument, and allow getopt to be included by
c++.

This allows the ib-diags to call getopt without build warnings.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1989 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/etc/user/getopt.c
trunk/inc/user/getopt.h