mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
performance: add few restict and const key words
This should make the run to be couple percentages quicker. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
dbf3927c39
commit
b61c93b7a1
3 changed files with 5 additions and 5 deletions
|
|
@ -168,7 +168,7 @@ int do_counting(void);
|
|||
void flip_ranges(struct range_t *__restrict ranges, struct range_t *__restrict tmp_ranges)
|
||||
__attribute__ ((nonnull(1, 2)));
|
||||
/* support functions */
|
||||
int xstrstr(char *__restrict a, const char *__restrict b, int len);
|
||||
int xstrstr(const char *__restrict a, const char *__restrict b, int len);
|
||||
double strtod_or_err(const char *__restrict str, const char *__restrict errmesg);
|
||||
void print_version(void) __attribute__ ((noreturn));
|
||||
void usage(int status) __attribute__ ((noreturn));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue