diff options
author | Lauri Aalto <laalto@iki.fi> | 2008-10-03 08:44:14 +0000 |
---|---|---|
committer | Lauri Aalto <laalto@iki.fi> | 2008-10-03 08:44:14 +0000 |
commit | eb2362c097533efb65c534f377fbc534ec02c5c2 (patch) | |
tree | f9eff6c301b6bb4c3d19379f901ab9b926c1b5ed /utils/rdfdiff.c | |
parent | aef9b542002227a98c5501de980e55890449ef71 (diff) | |
download | raptor-eb2362c097533efb65c534f377fbc534ec02c5c2.tar.gz |
(long_options,title_format_string): Use const qualifier for constant data.
Diffstat (limited to 'utils/rdfdiff.c')
-rw-r--r-- | utils/rdfdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rdfdiff.c b/utils/rdfdiff.c index 3a0e9343..87ceb469 100644 --- a/utils/rdfdiff.c +++ b/utils/rdfdiff.c @@ -66,7 +66,7 @@ extern char *optarg; #define GETOPT_STRING "bhf:t:u:" #ifdef HAVE_GETOPT_LONG -static struct option long_options[] = +static const struct option long_options[] = { /* name, has_arg, flag, val */ {"brief" , 0, 0, 'b'}, @@ -117,7 +117,7 @@ typedef struct { static int brief = 0; static char *program=NULL; -static const char *title_format_string="Raptor RDF diff utility %s\n"; +static const char * const title_format_string="Raptor RDF diff utility %s\n"; static int ignore_errors = 0; static int ignore_warnings = 0; static int emit_from_header = 1; |