diff options
author | jkim <jkim@FreeBSD.org> | 2014-03-27 23:50:54 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-03-27 23:50:54 +0000 |
commit | 36570d433866fe6dd6cfd1efeaa154ed7ade2121 (patch) | |
tree | d3e9e38245f10de28c87606c945c7fdd4bed0d76 /source/compiler/dtutils.c | |
parent | 1e5f65118fdce3bca98a14153d598c52720e8947 (diff) | |
download | FreeBSD-src-36570d433866fe6dd6cfd1efeaa154ed7ade2121.zip FreeBSD-src-36570d433866fe6dd6cfd1efeaa154ed7ade2121.tar.gz |
Import ACPICA 20140325.
Diffstat (limited to 'source/compiler/dtutils.c')
-rw-r--r-- | source/compiler/dtutils.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/source/compiler/dtutils.c b/source/compiler/dtutils.c index 7d7e430..d394aff 100644 --- a/source/compiler/dtutils.c +++ b/source/compiler/dtutils.c @@ -286,36 +286,6 @@ DtStrtoul64 ( /****************************************************************************** * - * FUNCTION: DtGetFileSize - * - * PARAMETERS: Handle - Open file handler - * - * RETURN: Current file size - * - * DESCRIPTION: Get the current size of a file. Seek to the EOF and get the - * offset. Seek back to the original location. - * - *****************************************************************************/ - -UINT32 -DtGetFileSize ( - FILE *Handle) -{ - int CurrentOffset; - int LastOffset; - - - CurrentOffset = ftell (Handle); - fseek (Handle, 0, SEEK_END); - LastOffset = ftell (Handle); - fseek (Handle, CurrentOffset, SEEK_SET); - - return ((UINT32) LastOffset); -} - - -/****************************************************************************** - * * FUNCTION: DtGetFieldValue * * PARAMETERS: Field - Current field list pointer |