Commit a120694d authored by David Lawrence's avatar David Lawrence
Browse files

conform variable names in isc_.*region_consume to ANSI/ISO standard

parent 2918b5bd
184. [cleanup] Conform variable names hidden in isc_region_consume
and isc_textregion_consume macros to ANSI/ISO
standard (double leading underscores are reserved).
183. [func] ISC_LOG_PRINTTAG option for log channels. Useful
for logging the program name or other identifier.
182. [cleanup] New commandline parameters for dnssec tools 182. [cleanup] New commandline parameters for dnssec tools
181. [func] Added dst_key_buildfilename and dst_key_parsefilename 181. [func] Added dst_key_buildfilename and dst_key_parsefilename
......
...@@ -37,20 +37,20 @@ struct isc_textregion { ...@@ -37,20 +37,20 @@ struct isc_textregion {
#define isc_region_consume(r,l) \ #define isc_region_consume(r,l) \
do { \ do { \
isc_region_t *__r = (r); \ isc_region_t *_r = (r); \
unsigned int __l = (l); \ unsigned int _l = (l); \
INSIST(__r->length >= __l); \ INSIST(_r->length >= _l); \
__r->base += __l; \ _r->base += _l; \
__r->length -= __l; \ _r->length -= _l; \
} while (0) } while (0)
#define isc_textregion_consume(r,l) \ #define isc_textregion_consume(r,l) \
do { \ do { \
isc_textregion_t *__r = (r); \ isc_textregion_t *_r = (r); \
unsigned int __l = (l); \ unsigned int _l = (l); \
INSIST(__r->length >= __l); \ INSIST(_r->length >= _l); \
__r->base += __l; \ _r->base += _l; \
__r->length -= __l; \ _r->length -= _l; \
} while (0) } while (0)
#endif /* ISC_REGION_H */ #endif /* ISC_REGION_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment