aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/amd64/net')
-rw-r--r--lib/libc/amd64/net/htonl.S11
-rw-r--r--lib/libc/amd64/net/htons.S11
-rw-r--r--lib/libc/amd64/net/ntohl.S11
-rw-r--r--lib/libc/amd64/net/ntohs.S9
4 files changed, 20 insertions, 22 deletions
diff --git a/lib/libc/amd64/net/htonl.S b/lib/libc/amd64/net/htonl.S
index 6658b69025a6..da74ed67a902 100644
--- a/lib/libc/amd64/net/htonl.S
+++ b/lib/libc/amd64/net/htonl.S
@@ -34,15 +34,14 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
- .text
- .asciz "$FreeBSD$"
-#endif /* LIBC_RCS and not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+ .asciz "@(#)htonl.s 5.3 (Berkeley) 12/17/90"
+#endif /* LIBC_SCCS and not lint */
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
/* netorder = htonl(hostorder) */
-#include <machine/asm.h>
-
.weak CNAME(htonl)
.set CNAME(htonl),CNAME(__htonl)
ENTRY(__htonl)
diff --git a/lib/libc/amd64/net/htons.S b/lib/libc/amd64/net/htons.S
index c354eaa0c94e..d5d63fc0c107 100644
--- a/lib/libc/amd64/net/htons.S
+++ b/lib/libc/amd64/net/htons.S
@@ -34,15 +34,14 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
- .text
- .asciz "$FreeBSD$"
-#endif /* LIBC_RCS and not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+ .asciz "@(#)htons.s 5.2 (Berkeley) 12/17/90"
+#endif /* LIBC_SCCS and not lint */
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
/* netorder = htons(hostorder) */
-#include <machine/asm.h>
-
.weak CNAME(htons)
.set CNAME(htons),CNAME(__htons)
ENTRY(__htons)
diff --git a/lib/libc/amd64/net/ntohl.S b/lib/libc/amd64/net/ntohl.S
index 46ff54e32202..15e2d6e35232 100644
--- a/lib/libc/amd64/net/ntohl.S
+++ b/lib/libc/amd64/net/ntohl.S
@@ -34,15 +34,14 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
- .text
- .asciz "$FreeBSD$"
-#endif /* LIBC_RCS and not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+ .asciz "@(#)ntohl.s 5.2 (Berkeley) 12/17/90"
+#endif /* LIBC_SCCS and not lint */
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
/* hostorder = ntohl(netorder) */
-#include <machine/asm.h>
-
.weak CNAME(ntohl)
.set CNAME(ntohl),CNAME(__ntohl)
ENTRY(__ntohl)
diff --git a/lib/libc/amd64/net/ntohs.S b/lib/libc/amd64/net/ntohs.S
index 3f0a36ab6ea2..eb0668c4e1e5 100644
--- a/lib/libc/amd64/net/ntohs.S
+++ b/lib/libc/amd64/net/ntohs.S
@@ -34,10 +34,11 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
- .text
- .asciz "$FreeBSD$"
-#endif /* LIBC_RCS and not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+ .asciz "@(#)ntohs.s 5.2 (Berkeley) 12/17/90"
+#endif /* LIBC_SCCS and not lint */
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
/* hostorder = ntohs(netorder) */