OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include "tools/gn/tutorial/hello.h" |
| 6 |
5 #include <stdio.h> | 7 #include <stdio.h> |
6 | 8 |
7 #include "tools/gn/tutorial/hello.h" | |
8 | |
9 void Hello(const char* who) { | 9 void Hello(const char* who) { |
10 printf("Hello, %s.\n", who); | 10 printf("Hello, %s.\n", who); |
11 } | 11 } |
12 | 12 |
13 #if defined(TWO_PEOPLE) | 13 #if defined(TWO_PEOPLE) |
14 void Hello(const char* one, const char* two) { | 14 void Hello(const char* one, const char* two) { |
15 printf("Hello, %s and %s.\n", one, two); | 15 printf("Hello, %s and %s.\n", one, two); |
16 } | 16 } |
17 #endif | 17 #endif |
OLD | NEW |