Another round of documentation.
Bug: N/A
Test: N/A
Change-Id: I1b818fbb36ddd6d084dee56828290c2717a0c9b0
diff --git a/libc/include/bits/in_addr.h b/libc/include/bits/in_addr.h
index 834c056..30eb04b 100644
--- a/libc/include/bits/in_addr.h
+++ b/libc/include/bits/in_addr.h
@@ -26,16 +26,20 @@
* SUCH DAMAGE.
*/
-#ifndef _BITS_IN_ADDR_H_
-#define _BITS_IN_ADDR_H_
+#pragma once
+
+/**
+ * @file bits/in_addr.h
+ * @brief IPv4 address types.
+ */
#include <sys/cdefs.h>
#include <stdint.h>
+/** An integral type representing an IPv4 address. */
typedef uint32_t in_addr_t;
+/** A structure representing an IPv4 address. */
struct in_addr {
in_addr_t s_addr;
};
-
-#endif