TP 13 exo2: Implement the missing bits to do a full game.
[TD_C.git] / TP_13 / exo1 / lib / utils.c
index c48206fed5be5edc6f7f4eab98eb383f1c1b5545..1f0b1401057d1664e667a9f5a2e3d08e94ddcaef 100644 (file)
@@ -1,6 +1,8 @@
+#include <stdio.h>
+
 #include "utils.h"
 
-void swap_int_ptr(int* v1, int* v2) {
+void swap_int(int* v1, int* v2) {
     int tmp = *v1;
     *v1 = *v2;
     *v2 = tmp;