Skip to content

Commit

Permalink
apply a variant of icecc#106
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Nov 1, 2014
1 parent 9692d57 commit 8076c0e
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions daemon/environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _ENVIRONMENT_H
#define _ENVIRONMENT_H
#ifndef ICECREAM_ENVIRONMENT_H
#define ICECREAM_ENVIRONMENT_H

#include <comm.h>
#include <list>
Expand Down
4 changes: 2 additions & 2 deletions daemon/load.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _LOAD_H_
#define _LOAD_H_
#ifndef ICECREAM_LOAD_H
#define ICECREAM_LOAD_H

#include <comm.h>

Expand Down
4 changes: 2 additions & 2 deletions daemon/serve.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _SERVE_H
#define _SERVE_H
#ifndef ICECREAM_SERVE_H
#define ICECREAM_SERVE_H

#include <string>

Expand Down
4 changes: 2 additions & 2 deletions daemon/workit.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _WORKIT_H
#define _WORKIT_H
#ifndef ICECREAM_WORKIT_H
#define ICECREAM_WORKIT_H

#include <job.h>
#include <sys/types.h>
Expand Down
4 changes: 2 additions & 2 deletions services/comm.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/


#ifndef _COMM_H
#define _COMM_H
#ifndef ICECREAM_COMM_H
#define ICECREAM_COMM_H

#ifdef __linux__
# include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions services/exitcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _DISTCC_EXITCODE_H
#define _DISTCC_EXITCODE_H
#ifndef DISTCC_EXITCODE_H
#define DISTCC_EXITCODE_H

/**
* @file
Expand Down
4 changes: 2 additions & 2 deletions services/getifaddrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@

#else

#ifndef _GETIFADDRS_H
#define _GETIFADDRS_H
#ifndef GETIFADDRS_H
#define GETIFADDRS_H


#include <sys/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion services/job.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ list<string> CompileJob::allFlags() const
return args;
}

void CompileJob::__setTargetPlatform()
void CompileJob::setTargetPlatform()
{
m_target_platform = determine_platform();
}
Expand Down
8 changes: 4 additions & 4 deletions services/job.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _COMPILE_JOB_H
#define _COMPILE_JOB_H
#ifndef ICECREAM_COMPILE_JOB_H
#define ICECREAM_COMPILE_JOB_H

#include <list>
#include <string>
Expand Down Expand Up @@ -65,7 +65,7 @@ class CompileJob
CompileJob()
: m_id(0)
{
__setTargetPlatform();
setTargetPlatform();
}

void setCompilerName(const std::string &name)
Expand Down Expand Up @@ -176,7 +176,7 @@ class CompileJob

private:
std::list<std::string> flags(Argument_Type argumentType) const;
void __setTargetPlatform();
void setTargetPlatform();

unsigned int m_id;
Language m_language;
Expand Down
4 changes: 2 additions & 2 deletions services/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef _LOGGING_H
#define _LOGGING_H
#ifndef ICECREAM_LOGGING_H
#define ICECREAM_LOGGING_H

#include <sys/time.h>
#include <stdlib.h>
Expand Down

0 comments on commit 8076c0e

Please sign in to comment.