mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
#ifndef in *.h + #pragma once (#1639)
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef TIMESNTP_H
|
||||
#define TIMESNTP_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
@@ -23,4 +29,6 @@ void reset_servername(std::string _servername);
|
||||
void setBootTime();
|
||||
time_t getUpTime();
|
||||
bool getTimeIsSet(void);
|
||||
void restartNtpClient(void);
|
||||
void restartNtpClient(void);
|
||||
|
||||
#endif //TIMESNTP_H
|
||||
Reference in New Issue
Block a user