| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 1 | /* | 
|  | 2 | * inline.c --- Includes the inlined functions defined in the header | 
|  | 3 | * 	files as standalone functions, in case the application program | 
|  | 4 | * 	is compiled with inlining turned off. | 
| Theodore Ts'o | efc6f62 | 2008-08-27 23:07:54 -0400 | [diff] [blame^] | 5 | * | 
| Theodore Ts'o | 19c78dc | 1997-04-29 16:17:09 +0000 | [diff] [blame] | 6 | * Copyright (C) 1993, 1994 Theodore Ts'o. | 
|  | 7 | * | 
|  | 8 | * %Begin-Header% | 
|  | 9 | * This file may be redistributed under the terms of the GNU Public | 
|  | 10 | * License. | 
|  | 11 | * %End-Header% | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 12 | */ | 
|  | 13 |  | 
|  | 14 |  | 
|  | 15 | #include <stdio.h> | 
|  | 16 | #include <string.h> | 
| Theodore Ts'o | 4cbe8af | 1997-08-10 23:07:40 +0000 | [diff] [blame] | 17 | #if HAVE_UNISTD_H | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 18 | #include <unistd.h> | 
| Theodore Ts'o | 4cbe8af | 1997-08-10 23:07:40 +0000 | [diff] [blame] | 19 | #endif | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 20 | #include <fcntl.h> | 
|  | 21 | #include <time.h> | 
| Theodore Ts'o | 1d2ff46 | 1997-10-19 23:00:21 +0000 | [diff] [blame] | 22 | #if HAVE_SYS_STAT_H | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 23 | #include <sys/stat.h> | 
| Theodore Ts'o | 1d2ff46 | 1997-10-19 23:00:21 +0000 | [diff] [blame] | 24 | #endif | 
|  | 25 | #if HAVE_SYS_TYPES_H | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 26 | #include <sys/types.h> | 
| Theodore Ts'o | 1d2ff46 | 1997-10-19 23:00:21 +0000 | [diff] [blame] | 27 | #endif | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 28 |  | 
| Theodore Ts'o | b5abe6f | 1998-01-19 14:47:53 +0000 | [diff] [blame] | 29 | #include "ext2_fs.h" | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 30 | #define INCLUDE_INLINE_FUNCS | 
| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 31 | #include "ext2fs.h" | 
|  | 32 |  |