Fix a typo in the usage description of the new and shiny Makefile
[TD_C.git] / TP_13 / exo1 / lib / utils.c
CommitLineData
33b9c646
JB
1#include "utils.h"
2
3void swap_int_ptr(int* v1, int* v2) {
4 int tmp = *v1;
5 *v1 = *v2;
6 *v2 = tmp;
7}
8
9void swap_ptr(void* v1, void* v2) {
10 void* tmp = v1;
11 v1 = v2;
12 v2 = tmp;
13}