From: Sage Weil Date: Thu, 21 Oct 2010 00:30:10 +0000 (-0700) Subject: errno: add missing common/errno.h X-Git-Tag: v0.23~131 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dec5b787c7806cbf7aeaaa2bab66923e01f621b5;p=ceph.git errno: add missing common/errno.h --- diff --git a/src/common/errno.h b/src/common/errno.h new file mode 100644 index 000000000000..9dbd1438ce47 --- /dev/null +++ b/src/common/errno.h @@ -0,0 +1,9 @@ +#ifndef CEPH_ERRNO_H +#define CEPH_ERRNO_H + +#include + +/* Return a given error code as a string */ +std::string cpp_strerror(int err); + +#endif