Skip to content

Commit

Permalink
4.1-RELEASE.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumikawa committed Aug 5, 2000
1 parent f90d0e5 commit 78ef328
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 6 deletions.
13 changes: 8 additions & 5 deletions freebsd4/include/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 1/4/94
# $FreeBSD: src/include/Makefile,v 1.109 2000/01/26 17:38:51 peter Exp $
# $FreeBSD: src/include/Makefile,v 1.109.2.4 2000/07/15 07:24:05 kris Exp $
#
# Doing a make install builds /usr/include
#
Expand All @@ -10,7 +10,7 @@ CLEANFILES= osreldate.h version vers.c
SUBDIR= rpcsvc
FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
dlfcn.h elf.h err.h fnmatch.h fstab.h \
fts.h glob.h grp.h strhash.h histedit.h ieeefp.h iso646.h \
fts.h glob.h grp.h strhash.h histedit.h ieeefp.h ifaddrs.h iso646.h \
limits.h link.h locale.h malloc.h memory.h mpool.h \
ndbm.h netdb.h nl_types.h nlist.h objformat.h \
paths.h pthread.h pthread_np.h pwd.h \
Expand Down Expand Up @@ -45,10 +45,10 @@ LDIRS= cam msdosfs net netatalk netatm netgraph netinet netinet6 \
netipx netkey netncp netns nfs ntfs nwfs pccard posix4 sys vm

LNOHEADERDIRS= isofs ufs dev
LSUBDIRS= isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs cam/scsi dev/usb
LSUBDIRS= isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs cam/scsi dev/ppbus dev/usb

# For SHARED=symlinks, cam is a symlink, so cam/scsi is taken care of
LSYMSUBDIRS= isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs dev/usb
LSYMSUBDIRS= isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs dev/ppbus dev/usb

# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
Expand Down Expand Up @@ -96,10 +96,13 @@ beforeinstall: ${SHARED}
.endfor

copies:
.for i in ${LDIRS} ${LNOHEADERDIRS} machine
.for i in ${LDIRS} ${LSYMSUBDIRS} machine
if [ -h ${DESTDIR}/usr/include/$i ]; then \
rm -f ${DESTDIR}/usr/include/$i; \
fi
.endfor
.for i in ${LNOHEADERDIRS}
rm -rf ${DESTDIR}/usr/include/$i
.endfor
mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
Expand Down
56 changes: 56 additions & 0 deletions freebsd4/include/ifaddrs.h
@@ -0,0 +1,56 @@
/* $FreeBSD: src/include/ifaddrs.h,v 1.1.2.1 2000/07/15 07:24:05 kris Exp $ */

/*
* Copyright (c) 1995, 1999
* Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY Berkeley Software Design, Inc. ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL Berkeley Software Design, Inc. BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* BSDI ifaddrs.h,v 2.5 2000/02/23 14:51:59 dab Exp
*/

#ifndef _IFADDRS_H_
#define _IFADDRS_H_

struct ifaddrs {
struct ifaddrs *ifa_next;
char *ifa_name;
u_int ifa_flags;
struct sockaddr *ifa_addr;
struct sockaddr *ifa_netmask;
struct sockaddr *ifa_dstaddr;
void *ifa_data;
};

/*
* This may have been defined in <net/if.h>. Note that if <net/if.h> is
* to be included it must be included before this header file.
*/
#ifndef ifa_broadaddr
#define ifa_broadaddr ifa_dstaddr /* broadcast address interface */
#endif

#include <sys/cdefs.h>

__BEGIN_DECLS
extern int getifaddrs __P((struct ifaddrs **));
extern void freeifaddrs __P((struct ifaddrs *));
__END_DECLS

#endif
4 changes: 3 additions & 1 deletion freebsd4/include/unistd.h
Expand Up @@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)unistd.h 8.12 (Berkeley) 4/27/95
* $FreeBSD: src/include/unistd.h,v 1.35 2000/02/05 18:42:30 joe Exp $
* $FreeBSD: src/include/unistd.h,v 1.35.2.1 2000/07/03 18:09:40 joe Exp $
*/

#ifndef _UNISTD_H_
Expand Down Expand Up @@ -127,6 +127,7 @@ void endusershell __P((void));
int exect __P((const char *, char * const *, char * const *));
int fchdir __P((int));
int fchown __P((int, uid_t, gid_t));
char *fflagstostr __P((u_long));
int fsync __P((int));
#ifndef _FTRUNCATE_DECLARED
#define _FTRUNCATE_DECLARED
Expand Down Expand Up @@ -195,6 +196,7 @@ int setreuid __P((uid_t, uid_t));
int setrgid __P((gid_t));
int setruid __P((uid_t));
void setusershell __P((void));
int strtofflags __P((char **, u_long *, u_long *));
int swapon __P((const char *));
int symlink __P((const char *, const char *));
void sync __P((void));
Expand Down

0 comments on commit 78ef328

Please sign in to comment.