Use LIBBSD_, and remove trailing underscores.
* $FreeBSD: src/lib/libutil/libutil.h,v 1.47 2008/04/23 00:49:12 scf Exp $
*/
-#ifndef _LIBUTIL_H_
-#define _LIBUTIL_H_
+#ifndef LIBBSD_LIBUTIL_H
+#define LIBBSD_LIBUTIL_H
#include <features.h>
#include <sys/cdefs.h>
#define FPARSELN_UNESCREST 0x08
#define FPARSELN_UNESCALL 0x0f
-#endif /* !_LIBUTIL_H_ */
+#endif /* !LIBBSD_LIBUTIL_H */
* with every copy.
*/
-#ifndef _MD5_H_
-#define _MD5_H_
+#ifndef LIBBSD_MD5_H
+#define LIBBSD_MD5_H
#include <stdint.h>
__attribute__((__bounded__(__minbytes__,3,MD5_DIGEST_STRING_LENGTH)));
__END_DECLS
-#endif /* _MD5_H_ */
+#endif /* LIBBSD_MD5_H */
* $FreeBSD: src/sys/netinet/ip_icmp.h,v 1.22 2004/04/07 20:46:13 imp Exp $
*/
-#ifndef _NETINET_IP_ICMP_H_
-#define _NETINET_IP_ICMP_H_
+#ifndef LIBBSD_NETINET_IP_ICMP_H
+#define LIBBSD_NETINET_IP_ICMP_H
#include <sys/types.h> /* uint32_t */
#include <netinet/in.h> /* in_addr */
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
*/
-#ifndef _READPASSPHRASE_H_
-#define _READPASSPHRASE_H_
+#ifndef LIBBSD_READPASSPHRASE_H
+#define LIBBSD_READPASSPHRASE_H
#define RPP_ECHO_OFF 0x00 /* Turn off echo (default). */
#define RPP_ECHO_ON 0x01 /* Leave echo on. */
char * readpassphrase(const char *, char *, size_t, int);
__END_DECLS
-#endif /* !_READPASSPHRASE_H_ */
+#endif /* !LIBBSD_READPASSPHRASE_H */
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _STRINGLIST_H
-#define _STRINGLIST_H
+#ifndef LIBBSD_STRINGLIST_H
+#define LIBBSD_STRINGLIST_H
#include <sys/cdefs.h>
#include <sys/types.h>
int sl_delete(StringList *, const char *, int);
__END_DECLS
-#endif /* _STRINGLIST_H */
+#endif /* LIBBSD_STRINGLIST_H */
* $FreeBSD$
*/
-#ifndef _SYS_BITSTRING_H_
-#define _SYS_BITSTRING_H_
+#ifndef LIBBSD_SYS_BITSTRING_H
+#define LIBBSD_SYS_BITSTRING_H
typedef unsigned char bitstr_t;
*(value) = _value; \
} while (0)
-#endif /* !_SYS_BITSTRING_H_ */
+#endif /* !LIBBSD_SYS_BITSTRING_H */
* $FreeBSD$
*/
-#ifndef _SYS_QUEUE_H_
-#define _SYS_QUEUE_H_
+#ifndef LIBBSD_SYS_QUEUE_H
+#define LIBBSD_SYS_QUEUE_H
#include <sys/cdefs.h>
(head2)->tqh_last = &(head2)->tqh_first; \
} while (0)
-#endif /* !_SYS_QUEUE_H_ */
+#endif /* !LIBBSD_SYS_QUEUE_H */
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _SYS_TREE_H_
-#define _SYS_TREE_H_
+#ifndef LIBBSD_SYS_TREE_H
+#define LIBBSD_SYS_TREE_H
#include <sys/cdefs.h>
((x) != NULL) && ((y) = name##_RB_PREV(x), (x) != NULL); \
(x) = (y))
-#endif /* _SYS_TREE_H_ */
+#endif /* LIBBSD_SYS_TREE_H */
* $FreeBSD$
*/
-#ifndef _TIMECONV_H_
-#define _TIMECONV_H_
+#ifndef LIBBSD_TIMECONV_H
+#define LIBBSD_TIMECONV_H
#include <sys/cdefs.h>
#include <stdint.h>
int _time_to_int(time_t t);
time_t _int_to_time(int tint);
-#endif /* _TIMECONV_H_ */
+#endif /* LIBBSD_TIMECONV_H */
* $FreeBSD: src/include/vis.h,v 1.11 2003/10/30 10:40:49 phk Exp $
*/
-#ifndef _VIS_H_
-#define _VIS_H_
+#ifndef LIBBSD_VIS_H
+#define LIBBSD_VIS_H
#include <sys/types.h>
int unvis(char *, int, int *, int);
__END_DECLS
-#endif /* !_VIS_H_ */
+#endif /* !LIBBSD_VIS_H */