summaryrefslogtreecommitdiff
path: root/chromium/tools/gn/tutorial/hello.cc
blob: 8b25cd9db8218e61ec4197d2859bcb2d2b66d794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "tools/gn/tutorial/hello.h"

#include <stdio.h>

void Hello(const char* who) {
  printf("Hello, %s.\n", who);
}

#if defined(TWO_PEOPLE)
void Hello(const char* one, const char* two) {
  printf("Hello, %s and %s.\n", one, two);
}
#endif