shutdown: move attribute packed to the end of the declaration, so it is not ignored