dir.h (127976) | dir.h (139825) |
---|---|
1/* | 1/*- |
2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)dir.h 8.2 (Berkeley) 1/4/94 | 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)dir.h 8.2 (Berkeley) 1/4/94 |
30 * $FreeBSD: head/sys/sys/dir.h 127976 2004-04-07 04:19:52Z imp $ | 30 * $FreeBSD: head/sys/sys/dir.h 139825 2005-01-07 02:29:27Z imp $ |
31 */ 32 33#ifndef _SYS_DIR_H_ 34#define _SYS_DIR_H_ 35 36#if defined(__GNUC__) || defined (__INTEL_COMPILER) 37#warning "The information in this file should be obtained from <dirent.h>" 38#warning "and is provided solely (and temporarily) for backward compatibility." 39#endif 40 41#include <dirent.h> 42 43/* 44 * Backwards compatibility. 45 */ 46#define direct dirent 47#define DIRSIZ(dp) _GENERIC_DIRSIZ(dp) 48 49#endif /* !_SYS_DIR_H_ */ | 31 */ 32 33#ifndef _SYS_DIR_H_ 34#define _SYS_DIR_H_ 35 36#if defined(__GNUC__) || defined (__INTEL_COMPILER) 37#warning "The information in this file should be obtained from <dirent.h>" 38#warning "and is provided solely (and temporarily) for backward compatibility." 39#endif 40 41#include <dirent.h> 42 43/* 44 * Backwards compatibility. 45 */ 46#define direct dirent 47#define DIRSIZ(dp) _GENERIC_DIRSIZ(dp) 48 49#endif /* !_SYS_DIR_H_ */ |