.PRECIOUS: $(HEADERS_RFC)
NORMALIZE := tr -- '[:lower:]/.-' '[:upper:]___' | sed 's/^/\#define /;s/241_//;'
-HEADER := "/* AUTO_GENERATED FILE. DO NOT EDIT */"
+HEADER := "/* AUTO_GENERATED FILE. DO NOT EDIT */\n\#pragma once"
src/include/attributes.h: share/dictionary.freeradius.internal
${Q}$(ECHO) HEADER $@
+#pragma once
/*
* This program is is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
+#pragma once
/*
* An implementation of C11 stdatomic.h directly borrowed from FreeBSD
* (original copyright follows), with minor modifications for
*
* $FreeBSD: src/include/stdatomic.h,v 1.10.2.2 2012/05/30 19:21:54 theraven Exp $
*/
-
-#ifndef _STDATOMIC_H_
-#define _STDATOMIC_H_
-
#include <stddef.h>
#include <stdint.h>
atomic_flag_clear_explicit(object, memory_order_seq_cst)
#define atomic_flag_test_and_set(object) \
atomic_flag_test_and_set_explicit(object, memory_order_seq_cst)
-
-#endif /* !_STDATOMIC_H_ */
+#pragma once
/**
* $Id$
* @file lib/ldap/libfreeradius-ldap.h
* @copyright 2017 The FreeRADIUS Server Project.
* @copyright 2017 Arran Cudbard-Bell <a.cudbardb@freeradius.org>
*/
-#ifndef LIBFREERADIUS_LDAP_H
-#define LIBFREERADIUS_LDAP_H
-
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/connection.h>
#include <lber.h>
int fr_ldap_parse_url_extensions(LDAPControl **sss, REQUEST *request,
fr_ldap_connection_t *conn, char **extensions);
-
-
-#endif