blob: 130ba15f539301735b3b784fd509f725a87912f5 [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// Copyright (c) 2009 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// The unittests need a this in order to link up without pulling in tons
6// of other libraries
7
8#include <config.h>
9
10inline int snprintf(char* buffer, size_t count, const char* format, ...) {
11 int result;
12 va_list args;
13 va_start(args, format);
14 result = _vsnprintf(buffer, count, format, args);
15 va_end(args);
16 return result;
17}
18