From 4df1759a3636108839f9533268c8ce1b7156e132 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 2 Oct 2005 13:38:27 +0000 Subject: Added check for pthread library (needed for FreeBSD, still needs to be checked on MacOS X) and some cleanups. --- src/resources/buddylist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/buddylist.cpp') 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(); } -- cgit v1.2.3-70-g09d2