summaryrefslogtreecommitdiffstats
path: root/base/linux_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/linux_util.h')
-rw-r--r--base/linux_util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/linux_util.h b/base/linux_util.h
index c1135ce..0e079d7 100644
--- a/base/linux_util.h
+++ b/base/linux_util.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.
@@ -11,6 +11,8 @@
#include <string>
+#include "base/base_api.h"
+
namespace base {
static const char kFindInodeSwitch[] = "--find-inode";
@@ -26,7 +28,7 @@ std::string GetLinuxDistro();
void SetLinuxDistro(const std::string& distro);
// Return the inode number for the UNIX domain socket |fd|.
-bool FileDescriptorGetInode(ino_t* inode_out, int fd);
+BASE_API bool FileDescriptorGetInode(ino_t* inode_out, int fd);
// Find the process which holds the given socket, named by inode number. If
// multiple processes hold the socket, this function returns false.