diff options
author | Marcus Brinkmann <[email protected]> | 2011-05-06 11:28:11 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2011-05-06 11:28:11 +0000 |
commit | f1ea0d9e3812d38e40a79f5337c2d2e172d387d6 (patch) | |
tree | 082b089854ef123113ff1b2011c5493c976640e3 /complus/debug.c | |
parent | Remove unused macro GNUPG_FIX_HDR_VERSION. (diff) | |
download | gpgme-f1ea0d9e3812d38e40a79f5337c2d2e172d387d6.tar.gz gpgme-f1ea0d9e3812d38e40a79f5337c2d2e172d387d6.zip |
Remove complus (10 years unused).
Diffstat (limited to 'complus/debug.c')
-rw-r--r-- | complus/debug.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/complus/debug.c b/complus/debug.c deleted file mode 100644 index d7cb0a08..00000000 --- a/complus/debug.c +++ /dev/null @@ -1,40 +0,0 @@ -/* debug.c - COM+ debug helpers - * Copyright (C) 2001 g10 Code GmbH - * - * This file is part of GPGME. - * - * GPGME is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * GPGME 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - */ - -#include <stdio.h> -#include <stdlib.h> -#include <windows.h> -#include <ole2.h> - - -const char * -debugstr_guid (const GUID *id) -{ - static char str[100]; - - if (!id) - return "(null)"; - sprintf( str, "{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", - id->Data1, id->Data2, id->Data3, - id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3], - id->Data4[4], id->Data4[5], id->Data4[6], id->Data4[7] ); - return str; -} - |