//===-- HostInfoFreeBSD.h ---------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef lldb_Host_freebsd_HostInfoFreeBSD_h_
#define lldb_Host_freebsd_HostInfoFreeBSD_h_

#include "lldb/Host/posix/HostInfoPosix.h"

namespace lldb_private
{

class HostInfoFreeBSD : public HostInfoPosix
{
  public:
    static bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);
    static bool GetOSBuildString(std::string &s);
    static bool GetOSKernelDescription(std::string &s);
};
}

#endif

//===-- HostInfoFreeBSD.h ---------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef lldb_Host_freebsd_HostInfoFreeBSD_h_
#define lldb_Host_freebsd_HostInfoFreeBSD_h_

#include "lldb/Host/posix/HostInfoPosix.h"

namespace lldb_private
{

class HostInfoFreeBSD : public HostInfoPosix
{
  public:
    bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);
    bool GetOSBuildString(std::string &s);
    bool GetOSKernelDescription(std::string &s);
};
}

#endif

--- 
+++ 
@@ -18,9 +18,9 @@
 class HostInfoFreeBSD : public HostInfoPosix
 {
   public:
-    bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);
-    bool GetOSBuildString(std::string &s);
-    bool GetOSKernelDescription(std::string &s);
+    static bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);
+    static bool GetOSBuildString(std::string &s);
+    static bool GetOSKernelDescription(std::string &s);
 };
 }
 
Fix FreeBSD build after r215992


git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@216021 91177308-0d34-0410-b5e6-96231b3b80d8
