From 7c6f304a2eb855cf2d71ca0638d4f3c72f436fcd Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 27 Mar 2014 23:50:54 +0000 Subject: Import ACPICA 20140325. --- source/compiler/dtutils.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'source/compiler/dtutils.c') diff --git a/source/compiler/dtutils.c b/source/compiler/dtutils.c index 7d7e430fe52e4..d394aff1575ff 100644 --- a/source/compiler/dtutils.c +++ b/source/compiler/dtutils.c @@ -284,36 +284,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 -- cgit v1.2.3