From 30624a2bf3717e64a2134306a74d48463d8f14d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 31 Mar 2015 16:33:20 -0300 Subject: rename new_piece to piece_new in order to follow general convention --- lib/piece.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/piece.c') diff --git a/lib/piece.c b/lib/piece.c index 091d0a5..036a9a3 100644 --- a/lib/piece.c +++ b/lib/piece.c @@ -54,7 +54,7 @@ int piece_character(Piece p) { #endif -Piece* new_piece(Color c, PieceType t) { +Piece* piece_new(Color c, PieceType t) { Piece* p = malloc(sizeof(Piece)); p->color = c; p->type = t; -- cgit v1.2.3