From 5e14ab971129eb95ca02e373fc21adb46c0eaca1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Jul 2011 22:52:35 +0300 Subject: Remove undescore from variables and defines. --- src/utils/mkdir.cpp | 8 ++++---- src/utils/mkdir.h | 4 ++-- src/utils/specialfolder.cpp | 4 ++-- src/utils/specialfolder.h | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/utils') diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp index a031fe717..84c205b33 100644 --- a/src/utils/mkdir.cpp +++ b/src/utils/mkdir.cpp @@ -29,7 +29,7 @@ #include -#ifdef _MKDIR_TEST_ +#ifdef M_MKDIR_TEST_ // compile with -D_MKDIR_TEST_ to get a standalone binary #include #include @@ -94,7 +94,7 @@ int mkdir_r(const char *pathname) return -1; } -#ifdef _MKDIR_TEST_ +#ifdef M_MKDIR_TEST_ printf("%s\n", tmp); #endif *p = '/'; @@ -153,7 +153,7 @@ int mkdir_r(const char *pathname) return -1; } -#ifdef _MKDIR_TEST_ +#ifdef M_MKDIR_TEST_ printf("%s\n", tmp); #endif *p = '/'; @@ -164,7 +164,7 @@ int mkdir_r(const char *pathname) } #endif -#ifdef _MKDIR_TEST_ +#ifdef M_MKDIR_TEST_ int main(int argc, char** argv) { if (argc < 2) exit(1); diff --git a/src/utils/mkdir.h b/src/utils/mkdir.h index b1fb9afb0..deff75475 100644 --- a/src/utils/mkdir.h +++ b/src/utils/mkdir.h @@ -19,8 +19,8 @@ * along with this program. If not, see . */ -#ifndef _MKDIR_H -#define _MKDIR_H +#ifndef M_MKDIR_H +#define M_MKDIR_H int mkdir_r(const char *pathname); diff --git a/src/utils/specialfolder.cpp b/src/utils/specialfolder.cpp index 5ac06848f..31eaec687 100644 --- a/src/utils/specialfolder.cpp +++ b/src/utils/specialfolder.cpp @@ -23,7 +23,7 @@ #include "utils/specialfolder.h" #include -#ifdef _SPECIALFOLDERLOCATION_TEST_ +#ifdef M_SPECIALFOLDERLOCATION_TEST_ // compile with -D_SPECIALFOLDERLOCATION_TEST_ to get a standalone // binary for testing #include @@ -62,7 +62,7 @@ std::string getSpecialFolderLocation(int folderId) return ret; } -#ifdef _SPECIALFOLDERLOCATION_TEST_ +#ifdef M_SPECIALFOLDERLOCATION_TEST_ int main() { std::cout << "APPDATA " << getSpecialFolderLocation(CSIDL_APPDATA) diff --git a/src/utils/specialfolder.h b/src/utils/specialfolder.h index 2ca6259c6..571817370 100644 --- a/src/utils/specialfolder.h +++ b/src/utils/specialfolder.h @@ -19,8 +19,8 @@ * along with this program. If not, see . */ -#ifndef _SPECIALFOLDER_H -#define _SPECIALFOLDER_H +#ifndef M_SPECIALFOLDER_H +#define M_SPECIALFOLDER_H #ifdef WIN32 #include -- cgit v1.2.3-60-g2f50