Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1044)

Side by Side Diff: native_client_sdk/src/libraries/error_handling/string_stream.c

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 * 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
4 * found in the LICENSE file. 3 * found in the LICENSE file. */
5 */
6 4
7 #include <stdlib.h> 5 #include <stdlib.h>
8 #include <stdio.h> 6 #include <stdio.h>
9 #include <string.h> 7 #include <string.h>
10 8
11 #include "error_handling/string_stream.h" 9 #include "error_handling/string_stream.h"
12 void ssinit(sstream_t* stream) { 10 void ssinit(sstream_t* stream) {
13 stream->data = NULL; 11 stream->data = NULL;
14 stream->length = 0; 12 stream->length = 0;
15 } 13 }
(...skipping 26 matching lines...) Expand all
42 } 40 }
43 41
44 int ssprintf(sstream_t* stream, const char* format, ...) { 42 int ssprintf(sstream_t* stream, const char* format, ...) {
45 int out; 43 int out;
46 va_list args; 44 va_list args;
47 va_start(args, format); 45 va_start(args, format);
48 out = ssvprintf(stream, format, args); 46 out = ssvprintf(stream, format, args);
49 va_end(args); 47 va_end(args);
50 48
51 return out; 49 return out;
52 } 50 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/error_handling/error_handling.c ('k') | native_client_sdk/src/libraries/nacl_io/error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698