From b14368b8957a7be463a6b95e57f43a528fac4c8c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 12 Jun 2014 14:19:50 -0700 Subject: [PATCH] SPARC: Convert fork.c to arch-fork.h --- ChangeLog | 3 +++ .../linux/sparc/fork.c => sysdeps/unix/sysv/linux/sparc/arch-fork.h | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) rename nptl/sysdeps/unix/sysv/linux/sparc/fork.c => sysdeps/unix/sysv/linux/sparc/arch-fork.h (88%) diff --git a/ChangeLog b/ChangeLog index 02e8da3..0f3a99d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-06-12 Roland McGrath + * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file. + * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed. + * sysdeps/pthread/posix-timer.h: Include . (struct list_links): Type removed. (struct thread_node, struct timer_node): Replace struct list_links diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/fork.c b/sysdeps/unix/sysv/linux/sparc/arch-fork.h similarity index 88% rename from nptl/sysdeps/unix/sysv/linux/sparc/fork.c rename to sysdeps/unix/sysv/linux/sparc/arch-fork.h index c7b90d6..fcb47d0 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/fork.c +++ b/sysdeps/unix/sysv/linux/sparc/arch-fork.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2003-2014 Free Software Foundation, Inc. +/* ARCH_FORK definition for Linux fork implementation. SPARC version. + Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek , 2003. @@ -24,5 +25,3 @@ #define ARCH_FORK() \ INLINE_CLONE_SYSCALL (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, \ 0, NULL, NULL, &THREAD_SELF->tid) - -#include "../fork.c" -- 2.7.4