conf: return port numbers as int
This commit is contained in:
parent
29647c8280
commit
61b629fdad
2 changed files with 4 additions and 4 deletions
4
conf.c
4
conf.c
|
@ -1212,7 +1212,7 @@ CNF_AddBroadcasts(void)
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
unsigned short
|
int
|
||||||
CNF_GetNTPPort(void)
|
CNF_GetNTPPort(void)
|
||||||
{
|
{
|
||||||
return ntp_port;
|
return ntp_port;
|
||||||
|
@ -1220,7 +1220,7 @@ CNF_GetNTPPort(void)
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
unsigned short
|
int
|
||||||
CNF_GetAcquisitionPort(void)
|
CNF_GetAcquisitionPort(void)
|
||||||
{
|
{
|
||||||
return acquisition_port;
|
return acquisition_port;
|
||||||
|
|
4
conf.h
4
conf.h
|
@ -42,8 +42,8 @@ extern void CNF_AddSources(void);
|
||||||
extern void CNF_AddBroadcasts(void);
|
extern void CNF_AddBroadcasts(void);
|
||||||
extern void CNF_AddRefclocks(void);
|
extern void CNF_AddRefclocks(void);
|
||||||
|
|
||||||
extern unsigned short CNF_GetAcquisitionPort(void);
|
extern int CNF_GetAcquisitionPort(void);
|
||||||
extern unsigned short CNF_GetNTPPort(void);
|
extern int CNF_GetNTPPort(void);
|
||||||
extern char *CNF_GetDriftFile(void);
|
extern char *CNF_GetDriftFile(void);
|
||||||
extern char *CNF_GetLogDir(void);
|
extern char *CNF_GetLogDir(void);
|
||||||
extern char *CNF_GetDumpDir(void);
|
extern char *CNF_GetDumpDir(void);
|
||||||
|
|
Loading…
Reference in a new issue