Skip to content

Commit 88a7d3a

Browse files
committed
Give every header and source a final newline
Fourteen of them ended on the last brace or the closing #endif, which makes a diff that touches the end of the file rewrite a line it did not change, and leaves tools that read line by line one line short.
1 parent 03e089a commit 88a7d3a

14 files changed

Lines changed: 14 additions & 14 deletions

File tree

include/stdcorelib/path.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ namespace stdc {
7676
/// @}
7777
}
7878

79-
#endif // STDCORELIB_PATH_H
79+
#endif // STDCORELIB_PATH_H

include/stdcorelib/platform/windows/stdc_windows.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
#include <windows.h>
1212

13-
#endif // STDCORELIB_STDC_WINDOWS_H
13+
#endif // STDCORELIB_STDC_WINDOWS_H

include/stdcorelib/platform/windows/winapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ namespace stdc::winapi {
4949

5050
}
5151

52-
#endif // STDCORELIB_WINAPI_H
52+
#endif // STDCORELIB_WINAPI_H

include/stdcorelib/platform/windows/winextra.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ namespace stdc::windows {
2626
/// @}
2727
}
2828

29-
#endif // STDCORELIB_WINEXTRA_H
29+
#endif // STDCORELIB_WINEXTRA_H

include/stdcorelib/stlextra/algorithms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ namespace stdc {
6868
/// @}
6969
}
7070

71-
#endif // STDCORELIB_ALGORITHMS_H
71+
#endif // STDCORELIB_ALGORITHMS_H

include/stdcorelib/stlextra/iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ namespace stdc {
156156
/// @}
157157
}
158158

159-
#endif // STDCORELIB_ITERATOR_H
159+
#endif // STDCORELIB_ITERATOR_H

src/path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ namespace stdc {
2828

2929
}
3030

31-
}
31+
}

src/platform/windows/winapi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ namespace stdc::winapi {
147147
return res;
148148
}
149149

150-
}
150+
}

src/platform/windows/winextra.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ namespace stdc::windows {
7777
return ft;
7878
}
7979

80-
}
80+
}

src/str.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,4 +406,4 @@ namespace stdc {
406406
}
407407
#endif
408408

409-
}
409+
}

0 commit comments

Comments
 (0)