diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:59:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:59:26 +0000 |
commit | 1bc049906a35c3490532ab68fcbf90750c225f77 (patch) | |
tree | f690697725617a640820ade652da4cf766bdc863 /epan/uat-int.h | |
parent | 7dc9df5f26ed136405fd1e99d62ebc3a6bf92dd5 (diff) |
Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.
If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.
Constify a bunch of stuff, and make some other changes, to get rid of
warnings.
Clean up some indentation.
svn path=/trunk/; revision=21526
Diffstat (limited to 'epan/uat-int.h')
-rw-r--r-- | epan/uat-int.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h index 5bf22be9dc..8735cd672a 100644 --- a/epan/uat-int.h +++ b/epan/uat-int.h @@ -46,11 +46,11 @@ typedef struct _fld_data_t { } fld_data_t; struct _uat_t { - char* name; + const char* name; size_t record_size; - char* filename; - char* help; - char* category; + const char* filename; + const char* help; + const char* category; void** user_ptr; guint* nrows_p; uat_copy_cb_t copy_cb; |