repositories
/
TD_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: Use a variable for DLL archive targets.
[TD_C.git]
/
TP_13
/
exo1
/
lib
/
utils.c
diff --git
a/TP_13/exo1/lib/utils.c
b/TP_13/exo1/lib/utils.c
index 5139bae1bccf69facf4748275a45c3da141732dd..1f0b1401057d1664e667a9f5a2e3d08e94ddcaef 100644
(file)
--- a/
TP_13/exo1/lib/utils.c
+++ b/
TP_13/exo1/lib/utils.c
@@
-13,11
+13,3
@@
void swap_ptr(void* v1, void* v2) {
v1 = v2;
v2 = tmp;
}
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);
- }
-}