summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/i386/sys')
-rw-r--r--lib/libc/i386/sys/i386_clr_watch.c8
-rw-r--r--lib/libc/i386/sys/i386_get_ioperm.c6
-rw-r--r--lib/libc/i386/sys/i386_get_ldt.c6
-rw-r--r--lib/libc/i386/sys/i386_set_ioperm.c6
-rw-r--r--lib/libc/i386/sys/i386_set_ldt.c6
-rw-r--r--lib/libc/i386/sys/i386_set_watch.c8
-rw-r--r--lib/libc/i386/sys/i386_vm86.c6
7 files changed, 14 insertions, 32 deletions
diff --git a/lib/libc/i386/sys/i386_clr_watch.c b/lib/libc/i386/sys/i386_clr_watch.c
index 0320634..ae2ed79 100644
--- a/lib/libc/i386/sys/i386_clr_watch.c
+++ b/lib/libc/i386/sys/i386_clr_watch.c
@@ -24,18 +24,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
- *
- */
-
-/*
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <machine/reg.h>
#include <machine/sysarch.h>
-
int
i386_clr_watch(int watchnum, struct dbreg * d)
{
diff --git a/lib/libc/i386/sys/i386_get_ioperm.c b/lib/libc/i386/sys/i386_get_ioperm.c
index f70d610..5fe245a 100644
--- a/lib/libc/i386/sys/i386_get_ioperm.c
+++ b/lib/libc/i386/sys/i386_get_ioperm.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* LIBC_RCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <machine/sysarch.h>
diff --git a/lib/libc/i386/sys/i386_get_ldt.c b/lib/libc/i386/sys/i386_get_ldt.c
index 647f032..ec95d99 100644
--- a/lib/libc/i386/sys/i386_get_ldt.c
+++ b/lib/libc/i386/sys/i386_get_ldt.c
@@ -26,10 +26,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* LIBC_RCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/cdefs.h>
#include <machine/segments.h>
diff --git a/lib/libc/i386/sys/i386_set_ioperm.c b/lib/libc/i386/sys/i386_set_ioperm.c
index a3a2e8b..f23881d 100644
--- a/lib/libc/i386/sys/i386_set_ioperm.c
+++ b/lib/libc/i386/sys/i386_set_ioperm.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* LIBC_RCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <machine/sysarch.h>
diff --git a/lib/libc/i386/sys/i386_set_ldt.c b/lib/libc/i386/sys/i386_set_ldt.c
index ac69b05..756d49d 100644
--- a/lib/libc/i386/sys/i386_set_ldt.c
+++ b/lib/libc/i386/sys/i386_set_ldt.c
@@ -26,10 +26,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* LIBC_RCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/cdefs.h>
#include <machine/segments.h>
diff --git a/lib/libc/i386/sys/i386_set_watch.c b/lib/libc/i386/sys/i386_set_watch.c
index bb710dc..0767cc9 100644
--- a/lib/libc/i386/sys/i386_set_watch.c
+++ b/lib/libc/i386/sys/i386_set_watch.c
@@ -24,18 +24,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
- *
- */
-
-/*
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <machine/reg.h>
#include <machine/sysarch.h>
-
int
i386_set_watch(int watchnum, unsigned int watchaddr, int size,
int access, struct dbreg * d)
diff --git a/lib/libc/i386/sys/i386_vm86.c b/lib/libc/i386/sys/i386_vm86.c
index 7607746..6abff2d 100644
--- a/lib/libc/i386/sys/i386_vm86.c
+++ b/lib/libc/i386/sys/i386_vm86.c
@@ -24,10 +24,8 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_RCS) && !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* LIBC_RCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <machine/sysarch.h>
OpenPOWER on IntegriCloud