Skip to content

Commit

Permalink
2010-10-31 Tatsuhiro Tsujikawa <[email protected]>
Browse files Browse the repository at this point in the history
	Made #include guard consistent for c++ header files.
  • Loading branch information
tatsuhiro-t committed Oct 31, 2010
1 parent 6e88cae commit 2b458da
Show file tree
Hide file tree
Showing 446 changed files with 1,339 additions and 1,335 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2010-10-31 Tatsuhiro Tsujikawa <[email protected]>

Made #include guard consistent for c++ header files.

2010-10-31 Tatsuhiro Tsujikawa <[email protected]>

Fixed the bug that downloading > 4GB file fails on 32bit systems.
Expand Down
6 changes: 3 additions & 3 deletions src/A2STR.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_A2_STR_H_
#define _D_A2_STR_H_
#ifndef D_A2_STR_H
#define D_A2_STR_H

#include <string>

Expand Down Expand Up @@ -71,4 +71,4 @@ class A2STR {
};
} // namespace aria2

#endif // _D_A2_STR_H_
#endif // D_A2_STR_H
6 changes: 3 additions & 3 deletions src/ARC4Decryptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ARC4_DECRYPTOR_H_
#define _D_ARC4_DECRYPTOR_H_
#ifndef D_ARC4_DECRYPTOR_H
#define D_ARC4_DECRYPTOR_H

#include "common.h"
#ifdef HAVE_LIBGCRYPT
Expand Down Expand Up @@ -62,4 +62,4 @@ class ARC4Decryptor {

#endif

#endif // _D_ARC4_DECRYPTOR_H_
#endif // D_ARC4_DECRYPTOR_H
6 changes: 3 additions & 3 deletions src/ARC4Encryptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ARC4_ENCRYPTOR_H_
#define _D_ARC4_ENCRYPTOR_H_
#ifndef D_ARC4_ENCRYPTOR_H
#define D_ARC4_ENCRYPTOR_H

#include "common.h"
#ifdef HAVE_LIBGCRYPT
Expand Down Expand Up @@ -62,4 +62,4 @@ class ARC4Encryptor {

#endif

#endif // _D_ARC4_ENCRYPTOR_H_
#endif // D_ARC4_ENCRYPTOR_H
6 changes: 3 additions & 3 deletions src/AbstractAuthResolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_AUTH_RESOLVER_H_
#define _D_ABSTRACT_AUTH_RESOLVER_H_
#ifndef D_ABSTRACT_AUTH_RESOLVER_H
#define D_ABSTRACT_AUTH_RESOLVER_H

#include "AuthResolver.h"

Expand Down Expand Up @@ -69,4 +69,4 @@ typedef SharedHandle<AbstractAuthResolver> AbstractAuthResolverHandle;

} // namespace aria2

#endif // _D_ABSTRACT_AUTH_RESOLVER_H_
#endif // D_ABSTRACT_AUTH_RESOLVER_H
6 changes: 3 additions & 3 deletions src/AbstractBtMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_BT_MESSAGE_H_
#define _D_ABSTRACT_BT_MESSAGE_H_
#ifndef D_ABSTRACT_BT_MESSAGE_H
#define D_ABSTRACT_BT_MESSAGE_H

#include "BtMessage.h"
#include "Command.h"
Expand Down Expand Up @@ -196,4 +196,4 @@ typedef SharedHandle<AbstractBtMessage> AbstractBtMessageHandle;

} // namespace aria2

#endif // _D_ABSTRACT_BT_MESSAGE_H_
#endif // D_ABSTRACT_BT_MESSAGE_H
6 changes: 3 additions & 3 deletions src/AbstractCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_COMMAND_H_
#define _D_ABSTRACT_COMMAND_H_
#ifndef D_ABSTRACT_COMMAND_H
#define D_ABSTRACT_COMMAND_H

#include "Command.h"
#include "SharedHandle.h"
Expand Down Expand Up @@ -246,4 +246,4 @@ class AbstractCommand : public Command {

} // namespace aria2

#endif // _D_ABSTRACT_COMMAND_H_
#endif // D_ABSTRACT_COMMAND_H
6 changes: 3 additions & 3 deletions src/AbstractDiskWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_DISK_WRITER_H_
#define _D_ABSTRACT_DISK_WRITER_H_
#ifndef D_ABSTRACT_DISK_WRITER_H
#define D_ABSTRACT_DISK_WRITER_H

#include "DiskWriter.h"
#include <string>
Expand Down Expand Up @@ -93,4 +93,4 @@ class AbstractDiskWriter : public DiskWriter {

} // namespace aria2

#endif // _D_ABSTRACT_DISK_WRITER_H_
#endif // D_ABSTRACT_DISK_WRITER_H
6 changes: 3 additions & 3 deletions src/AbstractProxyRequestCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_PROXY_REQUEST_COMMAND_H_
#define _D_ABSTRACT_PROXY_REQUEST_COMMAND_H_
#ifndef D_ABSTRACT_PROXY_REQUEST_COMMAND_H
#define D_ABSTRACT_PROXY_REQUEST_COMMAND_H

#include "AbstractCommand.h"

Expand Down Expand Up @@ -70,4 +70,4 @@ class AbstractProxyRequestCommand : public AbstractCommand {

} // namespace aria2

#endif // _D_ABSTRACT_PROXY_REQUEST_COMMAND_H_
#endif // D_ABSTRACT_PROXY_REQUEST_COMMAND_H
6 changes: 3 additions & 3 deletions src/AbstractProxyResponseCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_PROXY_RESPONSE_COMMAND_H_
#define _D_ABSTRACT_PROXY_RESPONSE_COMMAND_H_
#ifndef D_ABSTRACT_PROXY_RESPONSE_COMMAND_H
#define D_ABSTRACT_PROXY_RESPONSE_COMMAND_H

#include "AbstractCommand.h"

Expand Down Expand Up @@ -69,4 +69,4 @@ class AbstractProxyResponseCommand : public AbstractCommand {

} // namespace aria2

#endif // _D_ABSTRACT_PROXY_RESPONSE_COMMAND_H_
#endif // D_ABSTRACT_PROXY_RESPONSE_COMMAND_H
6 changes: 3 additions & 3 deletions src/AbstractSingleDiskAdaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ABSTRACT_SINGLE_DISK_ADAPTOR_H_
#define _D_ABSTRACT_SINGLE_DISK_ADAPTOR_H_
#ifndef D_ABSTRACT_SINGLE_DISK_ADAPTOR_H
#define D_ABSTRACT_SINGLE_DISK_ADAPTOR_H

#include "DiskAdaptor.h"

Expand Down Expand Up @@ -106,4 +106,4 @@ class AbstractSingleDiskAdaptor : public DiskAdaptor {

} // namespace aria2

#endif // _D_ABSTRACT_SINGLE_DISK_ADAPTOR_H_
#endif // D_ABSTRACT_SINGLE_DISK_ADAPTOR_H
6 changes: 3 additions & 3 deletions src/ActivePeerConnectionCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ACTIVE_PEER_CONNECTION_COMMAND_H_
#define _D_ACTIVE_PEER_CONNECTION_COMMAND_H_
#ifndef D_ACTIVE_PEER_CONNECTION_COMMAND_H
#define D_ACTIVE_PEER_CONNECTION_COMMAND_H

#include "Command.h"
#include "SharedHandle.h"
Expand Down Expand Up @@ -89,4 +89,4 @@ class ActivePeerConnectionCommand : public Command {

} // namespace aria2

#endif // _D_ACTIVE_PEER_CONNECTION_COMMAND_H_
#endif // D_ACTIVE_PEER_CONNECTION_COMMAND_H
6 changes: 3 additions & 3 deletions src/AdaptiveURISelector.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ADAPTIVE_URI_SELECTOR_H_
#define _D_ADAPTIVE_URI_SELECTOR_H_
#ifndef D_ADAPTIVE_URI_SELECTOR_H
#define D_ADAPTIVE_URI_SELECTOR_H
#include "URISelector.h"
#include "SharedHandle.h"

Expand Down Expand Up @@ -89,4 +89,4 @@ class AdaptiveURISelector:public URISelector {
};

} // namespace aria2
#endif // _D_ADAPTIVE_URI_SELECTOR_H_
#endif // D_ADAPTIVE_URI_SELECTOR_H
6 changes: 3 additions & 3 deletions src/AlphaNumberDecorator.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ALPHA_NUMBER_DECORATOR_H_
#define _D_ALPHA_NUMBER_DECORATOR_H_
#ifndef D_ALPHA_NUMBER_DECORATOR_H
#define D_ALPHA_NUMBER_DECORATOR_H

#include "NumberDecorator.h"
#include "DlAbortEx.h"
Expand Down Expand Up @@ -88,4 +88,4 @@ class AlphaNumberDecorator : public NumberDecorator

} // namespace aria2

#endif // _D_ALPHA_NUMBER_DECORATOR_H_
#endif // D_ALPHA_NUMBER_DECORATOR_H
6 changes: 3 additions & 3 deletions src/AnnounceList.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ANNOUNCE_LIST_H_
#define _D_ANNOUNCE_LIST_H_
#ifndef D_ANNOUNCE_LIST_H
#define D_ANNOUNCE_LIST_H

#include "common.h"
#include "SharedHandle.h"
Expand Down Expand Up @@ -137,4 +137,4 @@ class AnnounceList {

} // namespace aria2

#endif // _D_ANNOUNCE_LIST_H_
#endif // D_ANNOUNCE_LIST_H
6 changes: 3 additions & 3 deletions src/AnnounceTier.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ANNOUNCE_TIER_H_
#define _D_ANNOUNCE_TIER_H_
#ifndef D_ANNOUNCE_TIER_H
#define D_ANNOUNCE_TIER_H

#include "common.h"
#include "SharedHandle.h"
Expand Down Expand Up @@ -95,4 +95,4 @@ class AnnounceTier {

} // namespace aria2

#endif // _D_ANNOUNCE_TIER_H_
#endif // D_ANNOUNCE_TIER_H
6 changes: 3 additions & 3 deletions src/AsyncNameResolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_ASYNC_NAME_RESOLVER_H_
#define _D_ASYNC_NAME_RESOLVER_H_
#ifndef D_ASYNC_NAME_RESOLVER_H
#define D_ASYNC_NAME_RESOLVER_H

#include "common.h"

Expand Down Expand Up @@ -118,4 +118,4 @@ class AsyncNameResolver {

} // namespace aria2

#endif // _D_ASYNC_NAME_RESOLVER_H_
#endif // D_ASYNC_NAME_RESOLVER_H
6 changes: 3 additions & 3 deletions src/AuthConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_AUTH_CONFIG_H_
#define _D_AUTH_CONFIG_H_
#ifndef D_AUTH_CONFIG_H
#define D_AUTH_CONFIG_H

#include "common.h"

Expand Down Expand Up @@ -78,4 +78,4 @@ std::ostream& operator<<(std::ostream& o, const AuthConfigHandle& authConfig);

} // namespace aria2

#endif // _D_AUTH_CONFIG_H_
#endif // D_AUTH_CONFIG_H
6 changes: 3 additions & 3 deletions src/AuthConfigFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_AUTH_CONFIG_FACTORY_H_
#define _D_AUTH_CONFIG_FACTORY_H_
#ifndef D_AUTH_CONFIG_FACTORY_H
#define D_AUTH_CONFIG_FACTORY_H

#include "common.h"

Expand Down Expand Up @@ -127,4 +127,4 @@ typedef SharedHandle<AuthConfigFactory> AuthConfigFactoryHandle;

} // namespace aria2

#endif // _D_AUTH_CONFIG_FACTORY_H_
#endif // D_AUTH_CONFIG_FACTORY_H
6 changes: 3 additions & 3 deletions src/AuthResolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_AUTH_RESOLVER_H_
#define _D_AUTH_RESOLVER_H_
#ifndef D_AUTH_RESOLVER_H
#define D_AUTH_RESOLVER_H

#include "common.h"
#include "SharedHandle.h"
Expand All @@ -54,4 +54,4 @@ typedef SharedHandle<AuthResolver> AuthResolverHandle;

} // namespace aria2

#endif // _D_AUTH_RESOLVER_H_
#endif // D_AUTH_RESOLVER_H
6 changes: 3 additions & 3 deletions src/AutoSaveCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_AUTO_SAVE_COMMAND_H_
#define _D_AUTO_SAVE_COMMAND_H_
#ifndef D_AUTO_SAVE_COMMAND_H
#define D_AUTO_SAVE_COMMAND_H

#include "TimeBasedCommand.h"

Expand All @@ -53,4 +53,4 @@ class AutoSaveCommand : public TimeBasedCommand

} // namespace aria2

#endif // _D_AUTO_SAVE_COMMAND_H_
#endif // D_AUTO_SAVE_COMMAND_H
6 changes: 3 additions & 3 deletions src/BNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_BNODE_H_
#define _D_BNODE_H_
#ifndef D_BNODE_H
#define D_BNODE_H

#include "common.h"

Expand Down Expand Up @@ -104,4 +104,4 @@ class BNode {

} // namespace aria2

#endif // _D_BNODE_H_
#endif // D_BNODE_H
6 changes: 3 additions & 3 deletions src/Base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_BASE64_H_
#define _D_BASE64_H_
#ifndef D_BASE64_H
#define D_BASE64_H
#include <string>

namespace aria2 {
Expand Down Expand Up @@ -94,4 +94,4 @@ class Base64

} // namespace aria2

#endif // _BASE64_H_
#endif // D_BASE64_H
6 changes: 3 additions & 3 deletions src/BinaryStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
#ifndef _D_BINARY_STREAM_H_
#define _D_BINARY_STREAM_H_
#ifndef D_BINARY_STREAM_H
#define D_BINARY_STREAM_H

#include "common.h"

Expand Down Expand Up @@ -68,4 +68,4 @@ typedef SharedHandle<BinaryStream> BinaryStreamHandle;

} // namespace aria2

#endif // _D_BINARY_STREAM_H_
#endif // D_BINARY_STREAM_H
Loading

0 comments on commit 2b458da

Please sign in to comment.