diff --git a/dissect/cstruct/cstruct.py b/dissect/cstruct/cstruct.py index 0ace313..a3cd2a6 100644 --- a/dissect/cstruct/cstruct.py +++ b/dissect/cstruct/cstruct.py @@ -408,7 +408,7 @@ def _make_union( ) -> type[Structure]: return self._make_struct(name, fields, align=align, anonymous=anonymous, base=Union) - def to_stub(self, name: str = "", packed: bool = True): + def to_stub(self, name: str = ""): buffer = io.StringIO() indentation = "" if name: