Fluctuations of the heat flux of a one-dimensional hard particle gas