Skip to content

Commit e813455

Browse files
authored
Merge pull request #9504 from practicalswift/gardening-20170511
[gardening] Fix duplicate include. Add copyright notice. Fix typo.
2 parents cd61cf6 + 8a26719 commit e813455

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

benchmark/scripts/compare_perf_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def push(x):
7575
# (name, min value, max value, mean value, max_rss)
7676
def values(self):
7777
return (self.name, str(self.min), str(self.max), str(int(self.mean)),
78-
str(self.max_rss) if self.max_rss else '')
78+
str(self.max_rss) if self.max_rss else '-')
7979

8080

8181
class ResultComparison:

stdlib/public/core/ThreadLocalStorage.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
//===--- ThreadLocalStorage.swift -----------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
112
import SwiftShims
213

314
// For testing purposes, a thread-safe counter to guarantee that destructors get

stdlib/public/runtime/Exclusivity.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
#if SWIFT_EXCLUSIVITY_USE_PTHREAD_SPECIFIC
4141
#include <pthread.h>
42-
#include <stdio.h>
4342
#endif
4443

4544
// Pick a return-address strategy

0 commit comments

Comments
 (0)