diff options
author | Volker Lendecke <vl@samba.org> | 2020-01-21 13:17:13 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-01-23 19:11:34 +0000 |
commit | 7b5edaebced3167bb9df8a0d4db83af43c309ef9 (patch) | |
tree | 6d7bfef241b0ae16162d0a3ea1ec1e56e1630e5a /librpc | |
parent | 1393011b1e2f1b73ff196ed2360bf18b0f81bef9 (diff) | |
download | samba-7b5edaebced3167bb9df8a0d4db83af43c309ef9.tar.gz |
librpc: Fix a gcc warning
gcc does not like const before static
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/ndr/ndr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 2259a35b170..ec90bbabd9d 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -1930,7 +1930,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_relative_ptr2(struct ndr_pull *ndr, const vo return ndr_pull_set_offset(ndr, rel_offset); } -const static struct { +static const struct { enum ndr_err_code err; const char *string; } ndr_err_code_strings[] = { |