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

Side by Side Diff: native_client_sdk/src/libraries/xray/symtable.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 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 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 */
5 4
6 /* XRay symbol table */ 5 /* XRay symbol table */
7 6
8 #define _GNU_SOURCE 7 #define _GNU_SOURCE
9 #include <stdint.h> 8 #include <stdint.h>
10 #include <stdio.h> 9 #include <stdio.h>
11 #include <stdlib.h> 10 #include <stdlib.h>
12 #include <string.h> 11 #include <string.h>
13 12
14 #if defined(__GLIBC__) 13 #if defined(__GLIBC__)
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 /* Frees a symbol table. */ 191 /* Frees a symbol table. */
193 void XRaySymbolTableFree(struct XRaySymbolTable* symtab) { 192 void XRaySymbolTableFree(struct XRaySymbolTable* symtab) {
194 XRayStringPoolFree(symtab->string_pool); 193 XRayStringPoolFree(symtab->string_pool);
195 XRaySymbolPoolFree(symtab->symbol_pool); 194 XRaySymbolPoolFree(symtab->symbol_pool);
196 XRayHashTableFree(symtab->hash_table); 195 XRayHashTableFree(symtab->hash_table);
197 symtab->num_symbols = 0; 196 symtab->num_symbols = 0;
198 XRayFree(symtab); 197 XRayFree(symtab);
199 } 198 }
200 199
201 #endif /* XRAY */ 200 #endif /* XRAY */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/xray/stringpool.c ('k') | native_client_sdk/src/libraries/xray/xray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698