Switch existing headers to defines instead of pragma once.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
*
*/
-#pragma once
+#ifndef _ODHCP6C_H_
+#define _ODHCP6C_H_
#include <netinet/in.h>
#include <stdbool.h>
uint32_t odhcp6c_elapsed(void);
struct odhcp6c_opt *odhcp6c_find_opt(const uint16_t code);
struct odhcp6c_opt *odhcp6c_find_opt_by_name(const char *name);
+
+#endif /* _ODHCP6C_H_ */
*
*/
-#pragma once
+#ifndef _RA_H_
+#define _RA_H_
#include <netinet/in.h>
#include <stdbool.h>
unsigned int options, unsigned int holdoff_interval);
bool ra_link_up(void);
bool ra_process(void);
+
+#endif /* _RA_H_ */