repositories
/
Algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TP6: More K&R coding style
[Algorithmic_C.git]
/
TP5
/
exo4
/
liste_chainee.c
diff --git
a/TP5/exo4/liste_chainee.c
b/TP5/exo4/liste_chainee.c
index d8ae698a48a8140a3a69afd1ecdc5589fd72bcbf..a8589397a6aba3bf8da83b37936aedb2918203b3 100644
(file)
--- a/
TP5/exo4/liste_chainee.c
+++ b/
TP5/exo4/liste_chainee.c
@@
-12,7
+12,7
@@
typedef struct cellule {
struct cellule *suivant;
} Cellule, *Liste;
struct cellule *suivant;
} Cellule, *Liste;
-Cellule *creer_maillon(element e, Cellule *
suivant)
+Cellule *creer_maillon(element e, Cellule *suivant)
{
Cellule *pnouveau = malloc(sizeof(Cellule));
pnouveau->valeur = e;
{
Cellule *pnouveau = malloc(sizeof(Cellule));
pnouveau->valeur = e;
@@
-229,3
+229,4
@@
int main()
}
/****************************************************************************/
}
/****************************************************************************/
+/* vim:noet:ts=8:sw=8:textwidth=80 */