Skip to content

Commit 18b0db9

Browse files
committed
Removing trailing whitespace
modified: doc/checkexamples.c modified: doc/jitaccess.dox modified: src/lib/libdwarf/libdwarf.h And also shortened unnecessarily long lines, doxygen aranges the output perfectly. modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf
1 parent 35ce243 commit 18b0db9

File tree

5 files changed

+119
-120
lines changed

5 files changed

+119
-120
lines changed

doc/checkexamples.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,7 @@ void examplezb(void)
29212921
/* If res == DW_DLV_ERROR or DW_DLV_NO_ENTRY
29222922
out will be the locally assigned static string.
29232923
If res == DW_DLV_OK it will be a usable
2924-
TAG name string.
2924+
TAG name string.
29252925
In no case should a returned string be free()d. */
29262926
}
29272927
/*! @endcode */

doc/jitaccess.dox

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
Another example is a non-standard file system,
4141
or file format, with the intent of obfuscating
4242
the file or the DWARF.
43-
43+
4444
For this to work the code generator must generate standard DWARF.
4545

4646
Overall the idea is a simple one: You write
@@ -53,7 +53,7 @@
5353
the interfaces so standard libdwarf can access
5454
your DWARF content.
5555

56-
You set up a little bit of data with that code
56+
You set up a little bit of data with that code
5757
(described below)
5858
and then you have essentially written the
5959
dwarf_init_path equivalent and you can access
@@ -65,7 +65,7 @@
6565
and how to make them work for you.
6666

6767
@code
68-
typedef struct Dwarf_Obj_Access_Interface_a_s
68+
typedef struct Dwarf_Obj_Access_Interface_a_s
6969
Dwarf_Obj_Access_Interface_a;
7070
struct Dwarf_Obj_Access_Interface_a_s {
7171
void *ai_object;
@@ -136,7 +136,6 @@
136136
In the description of the methods functions
137137
described later here, this pointer
138138
is named @b obj .
139-
140139

141140
@b ai_methods
142141

@@ -159,7 +158,7 @@
159158
and for most you can just fill in the value zero.
160159
For section index zero as_name should be set to
161160
an empty string (see below about section index numbers).
162-
161+
163162
@b as_name: Here you set a section name via the pointer.
164163
The section names must be names as defined in the DWARF
165164
standard, so if such do not appear in your data
@@ -173,7 +172,7 @@
173172
where the bytes of the section are.
174173

175174
@b as_offset: Just fill in zero.
176-
175+
177176
@b as_size: Fill in the size, in bytes,
178177
of the section you are telling libdwarf about.
179178

@@ -185,7 +184,6 @@
185184

186185
@b as_entrysize: Just fill in one.
187186

188-
189187
@subsection objaccessmethods Function Pointers
190188

191189
@b struct Dwarf_Obj_Access_Methods_a_s:
@@ -207,7 +205,7 @@
207205
described now) it passes the ai_object pointer
208206
you provided to these functions as @b obj parameter .
209207

210-
This is the final part of your work for libdwarf.
208+
This is the final part of your work for libdwarf.
211209
In the source file with your code you will be
212210
allocating data, making a provision for
213211
an array (real or conceptual) for per-section data,
@@ -233,7 +231,7 @@
233231
section_index - Zero-based index.
234232
return_section - Pointer to a structure in which
235233
section info will be placed. Caller must
236-
provide a valid pointer to a structure area.
234+
provide a valid pointer to a structure area.
237235
The structure's contents will be overwritten
238236
by the call to get_section_info.
239237
error - A pointer to an integer in which an error
@@ -243,7 +241,7 @@
243241
DW_DLV_OK - Everything ok.
244242
DW_DLV_ERROR - Error occurred. Use 'error' to determine the
245243
libdwarf defined error.
246-
DW_DLV_NO_ENTRY - No such section.
244+
DW_DLV_NO_ENTRY - No such section.
247245
@endcode
248246

249247
@b om_get_byte_order
@@ -299,7 +297,7 @@
299297

300298
This retrieves data you put into your @b ai_object
301299
struct that you filled out.
302-
300+
303301
@code
304302
Parameters
305303
obj - Your data
@@ -356,7 +354,7 @@
356354

357355
@b om_relocate_a_section
358356

359-
@code
357+
@code
360358
Leave this pointer NULL.
361359
If relocations are required it is probably simpler
362360
for you do to them yourself n your
@@ -378,7 +376,7 @@
378376
DW_DLV_ERROR - Error. Use 'error' to indicate
379377
a libdwarf-defined
380378
error number.
381-
DW_DLV_NO_ENTRY - No such section.
379+
DW_DLV_NO_ENTRY - No such section.
382380
@endcode
383381

384382
*/

0 commit comments

Comments
 (0)