Remove trailing whitespace from all text files
I've used the following command to remove the trailing whitespace for all tracked text files: git grep -Il '' | xargs sed -i 's/[ \t]*$//'
This commit is contained in:
@@ -437,7 +437,7 @@ into 'consumed' and 'remaining'.
|
||||
|
||||
When parsing a message, the message to be parsed in in the 'used'
|
||||
part of the buffer. As the message is parsed, the 'consumed'
|
||||
subregion grows and the 'remaining' subregion shrinks.
|
||||
subregion grows and the 'remaining' subregion shrinks.
|
||||
|
||||
When creating a message, data is written into the 'available'
|
||||
subregion, which then becomes part of 'used'.
|
||||
@@ -538,7 +538,7 @@ memory context is freed before all references have been cleaned up.
|
||||
/* Populate other isc_foo members here */
|
||||
|
||||
foo->magic = ISC_FOO_MAGIC;
|
||||
|
||||
|
||||
*foop = foo;
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
@@ -641,7 +641,7 @@ More macros are provided for iterating the list:
|
||||
|
||||
isc_foo_t *foo;
|
||||
for (foo = ISC_LIST_HEAD(foolist);
|
||||
foo != NULL;
|
||||
foo != NULL;
|
||||
foo = ISC_LIST_NEXT(foo, link))
|
||||
{
|
||||
/* do things */
|
||||
@@ -810,7 +810,7 @@ The return value may be:
|
||||
* `dns_name_commonancestor`: name1 and name2 share some labels
|
||||
* `dns_name_equal`: name1 and name2 are the same
|
||||
|
||||
Some simpler comparison functions are provided for convenience when
|
||||
Some simpler comparison functions are provided for convenience when
|
||||
not all of this information is required:
|
||||
|
||||
* `dns_name_compare()`: returns the sort order of two names but
|
||||
@@ -881,7 +881,7 @@ sets have been defined:
|
||||
|
||||
Each of these has a `first()`, `next()` and `current()` function; for
|
||||
example, `dns_rdataset_first()`, `dns_rdataset_next()`, and
|
||||
`dns_rdataset_current()`.
|
||||
`dns_rdataset_current()`.
|
||||
|
||||
The `first()` and `next()` functions move the iterator's cursor and so that
|
||||
the data at a new location can be retrieved. (Most of these can only step
|
||||
@@ -1030,7 +1030,7 @@ messages up to the current debugging level are written to the channel.
|
||||
|
||||
These objects -- the category, module, and channel -- direct hessages
|
||||
to desired destinations. Each category/module pair can be associated
|
||||
with a specific channel, and the correct destination will be used
|
||||
with a specific channel, and the correct destination will be used
|
||||
when a message is logged by `isc_log_write()`.
|
||||
|
||||
In `isc_log_write()`, the logging system first looks up a list that
|
||||
@@ -1163,7 +1163,7 @@ to control the closing of log files.
|
||||
|
||||
void isc_log_setdebuglevel(isc_log_t *lctx, unsigned int level);
|
||||
unsigned int isc_log_getdebuglevel(isc_log_t *lctx);
|
||||
|
||||
|
||||
These set and retrieve the current debugging level of the program.
|
||||
`isc_log_getdebuglevel()` can be used so that you need not keep track of
|
||||
the level yourself in another variable.
|
||||
@@ -1408,7 +1408,7 @@ be triggered at that time.
|
||||
result = isc_timer_create(timermgr, isc_timertype_once, NULL,
|
||||
interval, task, timeout, arg, &timer);
|
||||
|
||||
An event can also be explicitly triggered via `isc_task_send()`.
|
||||
An event can also be explicitly triggered via `isc_task_send()`.
|
||||
|
||||
static void
|
||||
do_things(isc_task_t *task, isc_event_t *event) {
|
||||
@@ -1418,7 +1418,7 @@ An event can also be explicitly triggered via `isc_task_send()`.
|
||||
...
|
||||
|
||||
/*
|
||||
* Allocate an event that calls 'do_things' with a
|
||||
* Allocate an event that calls 'do_things' with a
|
||||
* NULL argument, using 'myself' as ev_sender.
|
||||
*
|
||||
* DNS_EVENT_DOTHINGS must be defined in <dns/events.h>.
|
||||
|
||||
Reference in New Issue
Block a user