]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/erasure-code/shec/ErasureCodeShec.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / erasure-code / shec / ErasureCodeShec.cc
index 75bbe97d38d2b85369f73ee508f1770edf0655d8..9ec8dcc47c5ca4d3c277160c42f54b7d1aaf4396 100644 (file)
  *
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cerrno>
 #include <algorithm>
-using namespace std;
-
 #include "common/debug.h"
 #include "ErasureCodeShec.h"
 extern "C" {
@@ -40,6 +38,10 @@ extern int* reed_sol_vandermonde_coding_matrix(int k, int m, int w);
 #undef dout_prefix
 #define dout_prefix _prefix(_dout)
 
+using namespace std;
+using namespace ceph;
+
+
 static ostream& _prefix(std::ostream* _dout)
 {
   return *_dout << "ErasureCodeShec: ";