mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: const-ify functions taking dives and divecomputers
Another small step in making things const-clean.
See also commit 605e1e19ed
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b352eaae12
commit
011158b25c
7 changed files with 77 additions and 77 deletions
|
@ -41,8 +41,6 @@ static const struct models_table_t g_models[] = {
|
|||
{0xEE, 0x44, "Uwatec Unknown model", DC_FAMILY_UWATEC_ALADIN},
|
||||
};
|
||||
|
||||
extern struct sample *add_sample(struct sample *sample, int time, struct divecomputer *dc);
|
||||
|
||||
#define JUMP(_ptr, _n) if ((long) (_ptr += _n) > maxbuf) goto bail
|
||||
#define CHECK(_ptr, _n) if ((long) _ptr + _n > maxbuf) goto bail
|
||||
#define read_bytes(_n) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue