Skip to content
Snippets Groups Projects
Commit 3e3be90f authored by Gary E. Miller's avatar Gary E. Miller :speech_balloon:
Browse files

refclock_trimble: mark one function static and attribute pure

parent ce17da40
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,7 @@ struct refclock refclock_trimble = {
NULL /* timer - not used */
};
int day_of_year (char *dt);
static int day_of_year (char *dt) __attribute__((pure));
/* Extract the clock type from the mode setting */
#define CLK_TYPE(x) ((int)(((x)->ttl) & 0x7F))
......@@ -516,7 +516,7 @@ trimble_shutdown (
/*
* unpack_date - get day and year from date
*/
int
static int
day_of_year (
char * dt
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment