Skip to content

Commit

Permalink
dosobj: remove unused arg in mk_dosobj()
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Feb 7, 2024
1 parent 14e6752 commit 909842d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fdpp/dosobj.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void dosobj_reinit(far_t fa, int size)
base = fa;
}

far_t mk_dosobj(const void *data, UWORD len)
far_t mk_dosobj(UWORD len)
{
void *ptr;
uint16_t offs;
Expand Down
2 changes: 1 addition & 1 deletion fdpp/dosobj.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
void dosobj_init(far_t fa, int size);
void dosobj_reinit(far_t fa, int size);
void dosobj_free(void);
far_t mk_dosobj(const void *data, UWORD len);
far_t mk_dosobj(UWORD len);
void pr_dosobj(far_t fa, const void *data, UWORD len);
void cp_dosobj(void *data, far_t fa, UWORD len);
void rm_dosobj(far_t fa);
Expand Down
2 changes: 1 addition & 1 deletion fdpp/farobj.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class FarObj : public FarObjBase<T>, public ObjIf, public ObjRef,
std::unordered_set<sh_ref> owned_sh;

void _ctor() {
this->fobj = (__DOSFAR(uint8_t))mk_dosobj(this->ptr, this->size);
this->fobj = (__DOSFAR(uint8_t))mk_dosobj(this->size);
owned = get_owned_list(this->ptr);
owned_sh = get_owned_list_sh(this->ptr);
}
Expand Down

0 comments on commit 909842d

Please sign in to comment.