#define X_SIZE 60 #define Y_SIZE 30 int matrix[X_SIZE][Y_SIZE]; void init_matrix(void) { (void)memset(matrix, -1, sizeof(matrix)); }