use C99 flexible array member instead of [1]