TP 13 exo2: Implement the missing bits to do a full game.
[TD_C.git] / TP_13 / exo1 / lib / utils.c
index 5139bae1bccf69facf4748275a45c3da141732dd..1f0b1401057d1664e667a9f5a2e3d08e94ddcaef 100644 (file)
@@ -13,11 +13,3 @@ void swap_ptr(void* v1, void* v2) {
     v1 = v2;
     v2 = tmp;
 }
-
-void handle_prompt_error(int errno) {
-    if (errno != 0) {
-        printf("\nMerci de saisir un nombre entier, exiting\n");
-        /* it's somewhat violent but better than looping forever */
-        exit(EXIT_FAILURE);
-    }
-}