diff options
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index 1c829c4..e0d3268 100644 --- a/src/utils.c +++ b/src/utils.c | |||
| @@ -272,7 +272,17 @@ swap(int *a, int *b) | |||
| 272 | int aux; | 272 | int aux; |
| 273 | 273 | ||
| 274 | aux = *a; | 274 | aux = *a; |
| 275 | *a = *b; | 275 | *a = *b; |
| 276 | *b = aux; | 276 | *b = aux; |
| 277 | } | ||
| 278 | |||
| 279 | void | ||
| 280 | swapu64(uint64_t *a, uint64_t *b) | ||
| 281 | { | ||
| 282 | uint64_t aux; | ||
| 283 | |||
| 284 | aux = *a; | ||
| 285 | *a = *b; | ||
| 286 | *b = aux; | ||
| 277 | } | 287 | } |
| 278 | 288 | ||
