Skip to content

Commit d965cc6

Browse files
committed
[swift-inspect] add #pragma once to system header wrappers
1 parent d2801ec commit d965cc6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

tools/swift-inspect/Sources/SwiftInspectLinux/SystemHeaders/auxvec.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#pragma once
14+
1315
#include <linux/auxvec.h>

tools/swift-inspect/Sources/SwiftInspectLinux/SystemHeaders/elf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#pragma once
14+
1315
#include <elf.h>

tools/swift-inspect/Sources/SwiftInspectLinux/SystemHeaders/link.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#pragma once
14+
1315
#include <link.h>

tools/swift-inspect/Sources/SwiftInspectLinux/SystemHeaders/uio.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#pragma once
14+
1315
#include <sys/uio.h>

0 commit comments

Comments
 (0)