pahole: Describe expected use of 'default' in the man page
[dwarves.git] / dwarves_reorganize.h
blob5fccf6dbe7d417b85dac86df775346b4f3726462
1 #ifndef _DWARVES_REORGANIZE_H_
2 #define _DWARVES_REORGANIZE_H_ 1
3 /*
4 SPDX-License-Identifier: GPL-2.0-only
6 Copyright (C) 2006 Mandriva Conectiva S.A.
7 Copyright (C) 2006 Arnaldo Carvalho de Melo <acme@mandriva.com>
8 Copyright (C) 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
9 */
12 #include <stdint.h>
13 #include <stdio.h>
15 struct class;
16 struct cu;
17 struct class_member;
19 void class__subtract_offsets_from(struct class *cls, struct class_member *from,
20 const uint16_t size);
22 void class__add_offsets_from(struct class *cls, struct class_member *from,
23 const uint16_t size);
25 void class__fixup_alignment(struct class *cls, const struct cu *cu);
27 void class__reorganize(struct class *cls, const struct cu *cu,
28 const int verbose, FILE *fp);
30 #endif /* _DWARVES_REORGANIZE_H_ */