diff options
Diffstat (limited to 'base/rand_util_c.h')
-rw-r--r-- | base/rand_util_c.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/rand_util_c.h b/base/rand_util_c.h index 63cf813..8320ba6 100644 --- a/base/rand_util_c.h +++ b/base/rand_util_c.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,6 +6,8 @@ #define BASE_RAND_UTIL_C_H_ #pragma once +#include "base/base_api.h" + #ifdef __cplusplus extern "C" { #endif @@ -15,7 +17,7 @@ extern "C" { // Returns an FD for /dev/urandom, possibly pre-opened before sandboxing // was switched on. This is a C function so that Native Client can use it. -int GetUrandomFD(void); +BASE_API int GetUrandomFD(void); #ifdef __cplusplus } |