Declare lines function inline to satisfy ODR