summaryrefslogtreecommitdiff
path: root/src/resources/buddylist.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-02 13:38:27 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-02 13:38:27 +0000
commit4df1759a3636108839f9533268c8ce1b7156e132 (patch)
treec8ce12529845eecb930907829ca1ad3805f79628 /src/resources/buddylist.cpp
parentfcaec2c34641a5dc3da7423e81ad7b1415fe078d (diff)
downloadmana-4df1759a3636108839f9533268c8ce1b7156e132.tar.gz
mana-4df1759a3636108839f9533268c8ce1b7156e132.tar.bz2
mana-4df1759a3636108839f9533268c8ce1b7156e132.tar.xz
mana-4df1759a3636108839f9533268c8ce1b7156e132.zip
Added check for pthread library (needed for FreeBSD, still needs to be checked
on MacOS X) and some cleanups.
Diffstat (limited to 'src/resources/buddylist.cpp')
-rw-r--r--src/resources/buddylist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/buddylist.cpp b/src/resources/buddylist.cpp
index 2e2cdea6..e41327a5 100644
--- a/src/resources/buddylist.cpp
+++ b/src/resources/buddylist.cpp
@@ -41,7 +41,7 @@ BuddyList::~BuddyList()
delete filename;
}
-void BuddyList::loadFile(void)
+void BuddyList::loadFile()
{
char *buddy;
@@ -64,7 +64,7 @@ void BuddyList::loadFile(void)
inputStream.close();
}
-void BuddyList::saveFile(void)
+void BuddyList::saveFile()
{
std::string str;
@@ -121,7 +121,7 @@ bool BuddyList::removeBuddy(const std::string buddy)
return false;
}
-int BuddyList::getNumberOfElements(void)
+int BuddyList::getNumberOfElements()
{
return buddylist.size();
}