Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2285)

Unified Diff: source/io/ucln_io.c

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/io/sscanf.c ('k') | source/io/ucln_io.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/io/ucln_io.c
diff --git a/source/io/ucln_io.c b/source/io/ucln_io.c
deleted file mode 100644
index 041f4e737efbc41cb6d85b6400e5b0ed3065b0ff..0000000000000000000000000000000000000000
--- a/source/io/ucln_io.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-******************************************************************************
-* *
-* Copyright (C) 2001-2013, International Business Machines *
-* Corporation and others. All Rights Reserved. *
-* *
-******************************************************************************
-* file name: ucln_io.c
-* encoding: US-ASCII
-* tab size: 8 (not used)
-* indentation:4
-*
-* created on: 2006August11
-* created by: George Rhoten
-*/
-
-#include "ucln.h"
-#include "ucln_io.h"
-#include "uassert.h"
-
-#ifndef U_IO_IMPLEMENTATION
-#error U_IO_IMPLEMENTATION not set - must be set for all ICU source files in io/ - see http://userguide.icu-project.org/howtouseicu
-#endif
-
-
-/** Auto-client */
-#define UCLN_TYPE UCLN_IO
-#include "ucln_imp.h"
-
-/* Leave this copyright notice here! It needs to go somewhere in this library. */
-static const char copyright[] = U_COPYRIGHT_STRING;
-
-static cleanupFunc *gCleanupFunctions[UCLN_IO_COUNT];
-
-static UBool io_cleanup(void)
-{
- ECleanupIOType libType = UCLN_IO_START;
-
- while (++libType<UCLN_IO_COUNT) {
- if (gCleanupFunctions[libType])
- {
- gCleanupFunctions[libType]();
- gCleanupFunctions[libType] = NULL;
- }
- }
-#if !UCLN_NO_AUTO_CLEANUP && (defined(UCLN_AUTO_ATEXIT) || defined(UCLN_AUTO_LOCAL))
- ucln_unRegisterAutomaticCleanup();
-#endif
- return TRUE;
-}
-
-void ucln_io_registerCleanup(ECleanupIOType type,
- cleanupFunc *func)
-{
- U_ASSERT(UCLN_IO_START < type && type < UCLN_IO_COUNT);
- ucln_registerCleanup(UCLN_IO, io_cleanup);
- if (UCLN_IO_START < type && type < UCLN_IO_COUNT)
- {
- gCleanupFunctions[type] = func;
- }
-
-#if !UCLN_NO_AUTO_CLEANUP && (defined(UCLN_AUTO_ATEXIT) || defined(UCLN_AUTO_LOCAL))
- ucln_registerAutomaticCleanup();
-#endif
-}
-
« no previous file with comments | « source/io/sscanf.c ('k') | source/io/ucln_io.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698