update from main archive 961127

Thu Nov 28 23:03:32 1996  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
	* sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
	Add netinet/in_systm.h.
	Reported by NIIBE Yutaka <gniibe@mri.co.jp>.

	* sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
This commit is contained in:
Ulrich Drepper 1996-11-29 02:24:43 +00:00
parent c66452515d
commit a401eea9eb
6 changed files with 28 additions and 8 deletions

View File

@ -1,3 +1,11 @@
Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
Add netinet/in_systm.h.
Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
* libio/fileops.c: Update from latest libg++.
@ -9,7 +17,7 @@ Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
instead of __libc_lock_init for streams.
Reported by a sun <asun@zoology.washington.edu>.
* sysdepsunix/sysv/linux/i386/brk.c: Reformat copyright.
* sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
* sysdeps/generic/errno-loc.c: New file. Generic definition of
__errno_location function.

View File

@ -27,17 +27,15 @@
#include <stdlib.h>
#include <string.h>
#include <utmp.h>
#include <gnu/lib-names.h>
#include <sys/stat.h>
#include "utmp-private.h"
#include "../elf/link.h"
/* The various backends we have. */
static int __setutent_unknown (int reset);
static int __getutent_r_unknown (struct utmp *buffer, struct utmp **result);
static void __pututline_unknown (const struct utmp *data);
static struct utmp *__pututline_unknown (const struct utmp *data);
static void __endutent_unknown (void);
@ -142,24 +140,29 @@ __getutent_r_unknown (struct utmp *buffer, struct utmp **result)
}
void
struct utmp *
__pututline (const struct utmp *data)
{
struct utmp *buffer;
__libc_lock_lock (__libc_utmp_lock);
(*__libc_utmp_jump_table->pututline) (data);
buffer = (*__libc_utmp_jump_table->pututline) (data);
__libc_lock_unlock (__libc_utmp_lock);
return buffer;
}
weak_alias (__pututline, pututline)
static void
static struct utmp *
__pututline_unknown (const struct utmp *data)
{
/* It is not yet initialized. */
__setutent_unknown (0);
(*__libc_utmp_jump_table->pututline) (data);
return (*__libc_utmp_jump_table->pututline) (data);
}

View File

@ -8,6 +8,7 @@ net/if_ppp.h
net/ppp-comp.h
net/ppp_defs.h
net/route.h
netinet/in_systm.h
nfs/nfs.h
sys/acct.h
sys/debugreg.h

View File

@ -51,5 +51,9 @@ ifeq ($(subdir), stdio-common)
inhibit-siglist := yes
endif
ifeq ($(subdir), inet)
sysdep_headers += netinet/in_systm.h
endif
# Don't compile the ctype glue code, since there is no old non-GNU C library.
inhibit-glue = yes

View File

@ -0,0 +1,3 @@
# File name Caller Syscall name # args Strong name Weak names
s_llseek llseek _llseek 5 __sys_llseek

View File

@ -0,0 +1 @@
#include <linux/in_systm.h>