mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
give dstring_adjust a prototype and fix up some whitespace
This commit is contained in:
parent
edf55349b3
commit
d00ed9619f
2 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,7 @@ typedef struct dstring_s {
|
|||
// General buffer functions
|
||||
dstring_t *dstring_new(void);
|
||||
void dstring_delete (dstring_t *dstr);
|
||||
void dstring_adjust (dstring_t *dstr);
|
||||
void dstring_append (dstring_t *dstr, const char *data, unsigned int len);
|
||||
void dstring_insert(dstring_t *dstr, const char *data, unsigned int len,
|
||||
unsigned int pos);
|
||||
|
|
|
@ -55,8 +55,7 @@ dstring_delete (dstring_t *dstr)
|
|||
free (dstr);
|
||||
}
|
||||
|
||||
inline
|
||||
void
|
||||
inline void
|
||||
dstring_adjust (dstring_t *dstr)
|
||||
{
|
||||
if (dstr->size > dstr->truesize) {
|
||||
|
|
Loading…
Reference in a new issue