Split out EmittedFunctionCode.
diff --git a/bcc.cpp b/bcc.cpp
index cee848e..c2c1037 100644
--- a/bcc.cpp
+++ b/bcc.cpp
@@ -154,6 +154,7 @@
 
 #include <bcc/bcc.h>
 #include "bcc_runtime.h"
+#include "bcc_emitted_func_code.h"
 
 #define LOG_API(...) do {} while (0)
 // #define LOG_API(...) fprintf (stderr, __VA_ARGS__)
@@ -949,19 +950,6 @@
 
     const llvm::TargetData *mpTD;
 
-    class EmittedFunctionCode {
-     public:
-      // Beginning of the function's allocation.
-      void *FunctionBody;
-
-      // The address the function's code actually starts at.
-      void *Code;
-
-      // The size of the function code
-      int Size;
-
-      EmittedFunctionCode() : FunctionBody(NULL), Code(NULL) { return; }
-    };
     EmittedFunctionCode *mpCurEmitFunction;
 
     typedef std::map<const std::string,
diff --git a/bcc_emitted_func_code.h b/bcc_emitted_func_code.h
new file mode 100644
index 0000000..4284b3c
--- /dev/null
+++ b/bcc_emitted_func_code.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2010, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef BCC_EMITTED_FUNC_CODE_H
+#define BCC_EMITTED_FUNC_CODE_H
+
+#include <cstddef>
+
+namespace bcc {
+
+  class EmittedFunctionCode {
+  public:
+    // Beginning of the function's allocation.
+    void *FunctionBody;
+
+    // The address the function's code actually starts at.
+    void *Code;
+
+    // The size of the function code
+    int Size;
+
+    EmittedFunctionCode() : FunctionBody(NULL), Code(NULL) {
+    }
+
+  };
+
+}
+
+#endif // BCC_EMITTED_FUNC_CODE_H