]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
errno: add missing common/errno.h
authorSage Weil <sage@newdream.net>
Thu, 21 Oct 2010 00:30:10 +0000 (17:30 -0700)
committerSage Weil <sage@newdream.net>
Thu, 21 Oct 2010 00:30:10 +0000 (17:30 -0700)
src/common/errno.h [new file with mode: 0644]

diff --git a/src/common/errno.h b/src/common/errno.h
new file mode 100644 (file)
index 0000000..9dbd143
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef CEPH_ERRNO_H
+#define CEPH_ERRNO_H
+
+#include <string>
+
+/* Return a given error code as a string */
+std::string cpp_strerror(int err);
+
+#endif