mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Remove redundant declarations reported by GCC with -Wredundant-decls option
This commit is contained in:
parent
7067f48fa7
commit
a9119c3fa8
@ -191,8 +191,6 @@ QString onlyFileName(QString const & str);
|
||||
QString onlyPath(QString const & str);
|
||||
QStringList fileFilters(QString const & description);
|
||||
|
||||
QString changeExtension(QString const & oldname, QString const & extension);
|
||||
|
||||
/// Remove the extension from \p name
|
||||
QString removeExtension(QString const & name);
|
||||
|
||||
|
@ -439,12 +439,6 @@ namespace ForkedCallQueue {
|
||||
|
||||
/// A process in the queue
|
||||
typedef pair<string, ForkedCall::sigPtr> Process;
|
||||
/** Add a process to the queue. Processes are forked sequentially
|
||||
* only one is running at a time.
|
||||
* Connect to the returned signal and you'll be informed when
|
||||
* the process has ended.
|
||||
*/
|
||||
ForkedCall::sigPtr add(string const & process);
|
||||
|
||||
/// in-progress queue
|
||||
static queue<Process> callQueue_;
|
||||
@ -459,6 +453,11 @@ void stopCaller();
|
||||
///
|
||||
void callback(pid_t, int);
|
||||
|
||||
/** Add a process to the queue. Processes are forked sequentially
|
||||
* only one is running at a time.
|
||||
* Connect to the returned signal and you'll be informed when
|
||||
* the process has ended.
|
||||
*/
|
||||
ForkedCall::sigPtr add(string const & process)
|
||||
{
|
||||
ForkedCall::sigPtr ptr;
|
||||
|
@ -143,6 +143,7 @@ namespace xml {
|
||||
docstring escapeChar(char_type c, XMLStream::EscapeSettings e);
|
||||
|
||||
/// Escape the given character, if necessary, to an entity.
|
||||
/// \param c must be ASCII
|
||||
docstring escapeChar(char c, XMLStream::EscapeSettings e);
|
||||
|
||||
/// Escape a word instead of a single character
|
||||
@ -151,9 +152,6 @@ docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e=XMLStr
|
||||
/// cleans \param str for use as an attribute by replacing all non-altnum by "_"
|
||||
docstring cleanAttr(docstring const & str);
|
||||
|
||||
/// \p c must be ASCII
|
||||
docstring escapeChar(char c, XMLStream::EscapeSettings e);
|
||||
|
||||
/// replaces illegal characters from ID attributes
|
||||
docstring cleanID(docstring const &orig);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user