summaryrefslogtreecommitdiff
path: root/parttypes.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-03-21 21:33:57 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-03-21 21:33:57 -0400
commit699941e25a1fcf0beec124203747c8ed20842989 (patch)
treeeb2629231de8c6a973e3ef449fab80082b87a9ae /parttypes.cc
parent815fb65195106b8afe1b8dfec5dae605dbd7ccbe (diff)
downloadsgdisk-699941e25a1fcf0beec124203747c8ed20842989.tar.gz
0.7.1 release version
Diffstat (limited to 'parttypes.cc')
-rw-r--r--parttypes.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/parttypes.cc b/parttypes.cc
index 99de500..662a278 100644
--- a/parttypes.cc
+++ b/parttypes.cc
@@ -357,29 +357,3 @@ int PartType::Valid(uint16_t code) const {
} // while
return found;
} // PartType::Valid()
-
-/********************************
- * *
- * Non-class support functions. *
- * *
- ********************************/
-
-// Note: ReadUString() is here rather than in support.cc so that the ICU
-// libraries need not be linked to fixparts.
-
-// Reads a Unicode string from stdin, returning it as a ICU-style string.
-// Note that the returned string will NOT include the carriage return
-// entered by the user.
-UnicodeString ReadUString(void) {
- UnicodeString inString = "", oneWord;
-
- do {
- cin >> oneWord;
- if (inString.length() > 0)
- inString += " ";
- inString += oneWord;
- } while (cin.peek() != '\n');
- cin.get(); // discard CR
- return inString;
-} // ReadUString()
-