diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2013-05-08 13:21:30 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2013-05-08 13:21:30 +0000 |
commit | 02ec79b083e6bd32b71937f0b3b6b0108769c184 (patch) | |
tree | cfdea6d63740f214ba6de984af36df0df265587d /examples | |
parent | eac58c25208cc3d1ef6a7f4feaf711c161350451 (diff) | |
download | sg3_utils-02ec79b083e6bd32b71937f0b3b6b0108769c184.tar.gz |
sg_xcopy: add --on_src and --on_dst options; C++ cleanup
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@494 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sg__sat_phy_event.c | 4 | ||||
-rw-r--r-- | examples/sg_sat_chk_power.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/sg__sat_phy_event.c b/examples/sg__sat_phy_event.c index b4609433..b21b3c90 100644 --- a/examples/sg__sat_phy_event.c +++ b/examples/sg__sat_phy_event.c @@ -64,7 +64,7 @@ #define EBUFF_SZ 256 -static char * version_str = "1.00 20070507"; +static const char * version_str = "1.00 20070507"; static struct option long_options[] = { {"help", no_argument, 0, 'h'}, @@ -98,7 +98,7 @@ static void usage() struct phy_event_t { int id; - char * desc; + const char * desc; }; static struct phy_event_t phy_event_arr[] = { diff --git a/examples/sg_sat_chk_power.c b/examples/sg_sat_chk_power.c index 6f84ce7d..78bd84d7 100644 --- a/examples/sg_sat_chk_power.c +++ b/examples/sg_sat_chk_power.c @@ -56,7 +56,7 @@ #define EBUFF_SZ 256 -static char * version_str = "1.04 20120319"; +static const char * version_str = "1.04 20120319"; #if 0 |