Module: wine Branch: refs/heads/master Commit: ba5efc6c76e67d6f390f96dbae88a6b4431d68b2 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ba5efc6c76e67d6f390f96db...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Jun 10 12:02:14 2006 +0200
imagehlp: Remove the unused internal.c file.
---
dlls/imagehlp/Makefile.in | 1 dlls/imagehlp/internal.c | 125 --------------------------------------------- 2 files changed, 0 insertions(+), 126 deletions(-) delete mode 100644 dlls/imagehlp/internal.c
diff --git a/dlls/imagehlp/Makefile.in b/dlls/imagehlp/Makefile.in index 7f40273..330efee 100644 --- a/dlls/imagehlp/Makefile.in +++ b/dlls/imagehlp/Makefile.in @@ -11,7 +11,6 @@ C_SRCS = \ access.c \ imagehlp_main.c \ integrity.c \ - internal.c \ modify.c
@MAKE_DLL_RULES@ diff --git a/dlls/imagehlp/internal.c b/dlls/imagehlp/internal.c deleted file mode 100644 index aa2ed5f..0000000 --- a/dlls/imagehlp/internal.c +++ /dev/null @@ -1,125 +0,0 @@ -/* - * IMAGEHLP library - * - * Copyright 1998 Patrik Stridvall - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#include <stdarg.h> - -#include "windef.h" -#include "winbase.h" -#include "winerror.h" -#include "wine/debug.h" -#include "imagehlp.h" - -/*********************************************************************** - * InitializeListHead - */ -VOID InitializeListHead(PLIST_ENTRY pListHead) -{ - pListHead->Flink = pListHead; - pListHead->Blink = pListHead; -} - -/*********************************************************************** - * InsertHeadList - */ -VOID InsertHeadList(PLIST_ENTRY pListHead, PLIST_ENTRY pEntry) -{ - pEntry->Blink = pListHead; - pEntry->Flink = pListHead->Flink; - pListHead->Flink = pEntry; -} - -/*********************************************************************** - * InsertTailList - */ -VOID InsertTailList(PLIST_ENTRY pListHead, PLIST_ENTRY pEntry) -{ - pEntry->Flink = pListHead; - pEntry->Blink = pListHead->Blink; - pListHead->Blink = pEntry; -} - -/*********************************************************************** - * IsListEmpty - */ -BOOLEAN IsListEmpty(PLIST_ENTRY pListHead) -{ - return !pListHead; -} - -/*********************************************************************** - * PopEntryList - */ -PSINGLE_LIST_ENTRY PopEntryList(PSINGLE_LIST_ENTRY pListHead) -{ - pListHead->Next = NULL; - return pListHead; -} - -/*********************************************************************** - * PushEntryList - */ -VOID PushEntryList( - PSINGLE_LIST_ENTRY pListHead, PSINGLE_LIST_ENTRY pEntry) -{ - pEntry->Next=pListHead; -} - -/*********************************************************************** - * RemoveEntryList - */ -VOID RemoveEntryList(PLIST_ENTRY pEntry) -{ - pEntry->Flink->Blink = pEntry->Blink; - pEntry->Blink->Flink = pEntry->Flink; - pEntry->Flink = NULL; - pEntry->Blink = NULL; -} - -/*********************************************************************** - * RemoveHeadList - */ -PLIST_ENTRY RemoveHeadList(PLIST_ENTRY pListHead) -{ - PLIST_ENTRY p = pListHead->Flink; - - if(p != pListHead) - { - RemoveEntryList(pListHead); - return p; - } - else - { - pListHead->Flink = NULL; - pListHead->Blink = NULL; - return NULL; - } -} - -/*********************************************************************** - * RemoveTailList - */ -PLIST_ENTRY RemoveTailList(PLIST_ENTRY pListHead) -{ - RemoveHeadList(pListHead->Blink); - if(pListHead != pListHead->Blink) - return pListHead; - else - return NULL; -}