summaryrefslogtreecommitdiffstats
path: root/base/rand_util_c.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 17:54:14 +0000
commit68a008e82da08b0bf7d421049f0a292b99b88048 (patch)
treec8877946ba313e24f2de3903f48994c0d1d29d70 /base/rand_util_c.h
parent4d223f42c722674ae0a5f56cf9ac277fa9f52b9c (diff)
downloadchromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.zip
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.gz
chromium_src-68a008e82da08b0bf7d421049f0a292b99b88048.tar.bz2
linux: components build
Reapply r83630, r83629, r83583, and fix the one compile error. TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/rand_util_c.h')
-rw-r--r--base/rand_util_c.h6
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
}