Skip to content

Commit 54b8765

Browse files
authored
refactor: Remove superfluous include guards (#1741)
1 parent 3d14972 commit 54b8765

File tree

23 files changed

+0
-147
lines changed

23 files changed

+0
-147
lines changed

Core/Libraries/Source/WWVegas/WW3D2/framgrab.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,15 @@
3636

3737
#pragma once
3838

39-
#ifndef ALWAYS_H
4039
#include "always.h"
41-
#endif
4240

4341
#if defined (_MSC_VER)
4442
#pragma warning (push, 3) // (gth) system headers complain at warning level 4...
4543
#endif
4644

47-
#ifndef _WINDOWS_
4845
#include "windows.h"
49-
#endif
50-
51-
#ifndef _INC_WINDOWSX
5246
#include "windowsx.h"
53-
#endif
54-
55-
#ifndef _INC_VFW
5647
#include "vfw.h"
57-
#endif
5848

5949
#if defined (_MSC_VER)
6050
#pragma warning (pop)

Core/Libraries/Source/WWVegas/WW3D2/robjlist.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,9 @@
3636

3737
#pragma once
3838

39-
#ifndef ALWAYS_H
4039
#include "always.h"
41-
#endif
42-
43-
#ifndef MULTILIST_H
4440
#include "multilist.h"
45-
#endif
46-
47-
#ifndef WWDEBUG_H
4841
#include "wwdebug.h"
49-
#endif
5042

5143
class RenderObjClass;
5244

Core/Libraries/Source/WWVegas/WWLib/SLNODE.H

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@
3434

3535
#pragma once
3636

37-
#ifndef ALWAYS_H
3837
#include "always.h"
39-
#endif
40-
4138
#include "mempool.h"
4239

4340
#ifndef NULL

Core/Libraries/Source/WWVegas/WWLib/argv.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737

3838
#pragma once
3939

40-
#ifndef ALWAYS_H
4140
#include "always.h"
42-
#endif
4341

4442
// Used to parse command line that is passed into WinMain.
4543
// It also has the ability to load a file with values to append to the command line.

Core/Libraries/Source/WWVegas/WWLib/chunkio.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,10 @@
3737

3838
#pragma once
3939

40-
#ifndef ALWAYS_H
4140
#include "always.h"
42-
#endif
43-
44-
#ifndef BITTYPE_H
4541
#include "bittype.h"
46-
#endif
47-
48-
#ifndef WWFILE_H
4942
#include "WWFILE.H"
50-
#endif
51-
52-
#ifndef IOSTRUCT_H
5343
#include "iostruct.h"
54-
#endif
55-
5644

5745
/************************************************************************************
5846

Core/Libraries/Source/WWVegas/WWLib/ffactory.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636

3737
#pragma once
3838

39-
#ifndef ALWAYS_H
4039
#include "always.h"
41-
#endif
42-
4340
#include "mutex.h"
4441
#include "Vector.H"
4542
#include "wwstring.h"

Core/Libraries/Source/WWVegas/WWLib/iostruct.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636

3737
#pragma once
3838

39-
#ifndef BITTYPE_H
4039
#include "bittype.h"
41-
#endif
4240

4341
/*
4442
** Some useful structures for writing/writing (safe from changes).

Core/Libraries/Source/WWVegas/WWLib/ref_ptr.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636

3737
#pragma once
3838

39-
#ifndef ALWAYS_H
4039
#include "always.h"
41-
#endif
42-
4340
#include "wwdebug.h"
4441

4542
/*

Core/Libraries/Source/WWVegas/WWLib/refcount.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,8 @@
3636

3737
#pragma once
3838

39-
#ifndef ALWAYS_H
4039
#include "always.h"
41-
#endif
42-
43-
#ifndef LISTNODE_H
4440
#include "LISTNODE.H"
45-
#endif
46-
4741
#include "wwdebug.h"
4842

4943
class RefCountClass;

Core/Libraries/Source/WWVegas/WWLib/registry.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@
3535

3636
#pragma once
3737

38-
#ifndef ALWAYS_H
3938
#include "always.h"
40-
#endif
41-
4239
#include "Vector.H"
4340
#include "wwstring.h"
4441
#include "widestring.h"

0 commit comments

Comments
 (0)