diff options
author | Kostya Serebryany <kcc@google.com> | 2014-09-16 20:49:55 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-09-16 20:49:55 +0000 |
commit | e770075cbd2897cafdd30217da21ff4f45ee3e2f (patch) | |
tree | a640e2785bfec57a3e6c091f499847d14ab821d8 /lib/sanitizer_common/sanitizer_platform_limits_posix.h | |
parent | 086f46a9b87b17d36de8cc7e7f4b5a7469161cca (diff) |
[sanitizer] Fix global constructor warning in sanitizer; patch by Samuel F Antao
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_platform_limits_posix.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_platform_limits_posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/lib/sanitizer_common/sanitizer_platform_limits_posix.h index 8ec1c58f7..01ed51b32 100644 --- a/lib/sanitizer_common/sanitizer_platform_limits_posix.h +++ b/lib/sanitizer_common/sanitizer_platform_limits_posix.h @@ -861,7 +861,7 @@ struct __sanitizer_obstack { // A special value to mark ioctls that are not present on the target platform, // when it can not be determined without including any system headers. - extern unsigned IOCTL_NOT_PRESENT; + extern const unsigned IOCTL_NOT_PRESENT; extern unsigned IOCTL_FIOASYNC; extern unsigned IOCTL_FIOCLEX; |