aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-06 23:27:53 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-06 23:27:53 +0000
commitec28fc7c4f3e136a38f361cf7ce2274452f0d849 (patch)
tree1c6a7ba85ddbb9ce7e5f0aed31271a494131e9ad /sysdeps
parentf1813b562b7d4aebfde07f0991126e2de7a55d73 (diff)
downloadglibc-ec28fc7c4f3e136a38f361cf7ce2274452f0d849.tar
glibc-ec28fc7c4f3e136a38f361cf7ce2274452f0d849.tar.gz
glibc-ec28fc7c4f3e136a38f361cf7ce2274452f0d849.tar.bz2
glibc-ec28fc7c4f3e136a38f361cf7ce2274452f0d849.zip
(Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU basename().
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/netinet/if_ether.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/generic/netinet/if_ether.h b/sysdeps/generic/netinet/if_ether.h
index 8e8a1f0661..055395d527 100644
--- a/sysdeps/generic/netinet/if_ether.h
+++ b/sysdeps/generic/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,13 @@
#define __NETINET_IF_ETHER_H 1
#include <features.h>
+#include <sys/types.h>
+
/* This is a name for the 48 bit ethernet address available on many
systems. */
struct ether_addr
{
- unsigned char ether_addr_octet[6];
-};
+ u_int8_t ether_addr_octet[6];
+} __attribute__ ((__packed__));
#endif /* netinet/if_ether.h */