X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Futil.hh;h=91c247a684a7d8b6abbdf3aebce6947a6db6bebf;hb=b989ec13f7774bdb4b2b8675a65da56cb2fe0ef4;hp=aac92560ed64d42158208d30ef55942f348b7cfb;hpb=35fcb62ddd4861f857d93941407e3d87d444b2cc;p=chaz%2Fopenbox diff --git a/otk/util.hh b/otk/util.hh index aac92560..91c247a6 100644 --- a/otk/util.hh +++ b/otk/util.hh @@ -1,6 +1,6 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef _BLACKBOX_UTIL_HH -#define _BLACKBOX_UTIL_HH +#ifndef __util_hh +#define __util_hh extern "C" { #include @@ -18,7 +18,6 @@ extern "C" { #endif // TIME_WITH_SYS_TIME } - #include #include @@ -40,10 +39,10 @@ inline std::string itostring(unsigned int i) inline std::string itostring(int i) { return itostring((long) i); } -} +void putenv(const std::string &data); -#ifndef HAVE_BASENAME std::string basename(const std::string& path); -#endif -#endif +} + +#endif // __util_hh