mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Make more uemis functions static
These are no longer called from other parts of the code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
15edba9ab0
commit
79c2b00212
2 changed files with 2 additions and 4 deletions
4
uemis.c
4
uemis.c
|
@ -45,7 +45,7 @@ static void decodeblock( unsigned char in[4], unsigned char out[3] ) {
|
||||||
/*
|
/*
|
||||||
* decode a base64 encoded stream discarding padding, line breaks and noise
|
* decode a base64 encoded stream discarding padding, line breaks and noise
|
||||||
*/
|
*/
|
||||||
void decode( uint8_t *inbuf, uint8_t *outbuf, int inbuf_len ) {
|
static void decode( uint8_t *inbuf, uint8_t *outbuf, int inbuf_len ) {
|
||||||
uint8_t in[4], out[3], v;
|
uint8_t in[4], out[3], v;
|
||||||
int i,len,indx_in=0,indx_out=0;
|
int i,len,indx_in=0,indx_out=0;
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ void decode( uint8_t *inbuf, uint8_t *outbuf, int inbuf_len ) {
|
||||||
/*
|
/*
|
||||||
* convert the base64 data blog
|
* convert the base64 data blog
|
||||||
*/
|
*/
|
||||||
int uemis_convert_base64(char *base64, uint8_t **data) {
|
static int uemis_convert_base64(char *base64, uint8_t **data) {
|
||||||
int len,datalen;
|
int len,datalen;
|
||||||
|
|
||||||
len = strlen(base64);
|
len = strlen(base64);
|
||||||
|
|
2
uemis.h
2
uemis.h
|
@ -12,8 +12,6 @@ int uemis_get_weight_unit(int diveid);
|
||||||
void uemis_mark_divelocation(int diveid, int divespot, char **location, double *longitude, double *latitude);
|
void uemis_mark_divelocation(int diveid, int divespot, char **location, double *longitude, double *latitude);
|
||||||
void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude);
|
void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude);
|
||||||
|
|
||||||
void decode(uint8_t *in, uint8_t *out, int len);
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t dive_time;
|
uint16_t dive_time;
|
||||||
uint16_t water_pressure; // (in cbar)
|
uint16_t water_pressure; // (in cbar)
|
||||||
|
|
Loading…
Reference in a new issue