[uClibc]any objections to moving fork.c to sysdeps/linux/common?

Manuel Novoa III mnovoa3 at bellsouth.net
Sun Mar 4 19:11:50 UTC 2001


Hi everyone,

Right now, for all the archs that define it, fork.c is defined as

#include <errno.h>
#include <features.h>
#include <sys/types.h>
#include <sys/syscall.h>

#ifndef __HAS_NO_MMU__

//#define __NR_fork             2
#include <unistd.h>
_syscall0(pid_t, fork);

#endif

Since the code is excluded for the NO_MMU case, any objection to just moving
this into the common/syscalls.c file?

Manuel





More information about the uClibc mailing list