From ee315a27b72dc967a8a90f132725b7c8e4fd9fba Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:47 +0200 Subject: tagging ychat-0.7.5 --- src/maps/CVS/Entries | 18 ++++++++---------- src/maps/hmap.tmpl | 4 ---- src/maps/mtools.h | 26 +------------------------- src/maps/mtools.tmpl | 29 ++--------------------------- src/maps/nmap.h | 3 --- src/maps/smap.h | 2 -- src/maps/smap.tmpl | 4 ---- 7 files changed, 11 insertions(+), 75 deletions(-) (limited to 'src/maps') diff --git a/src/maps/CVS/Entries b/src/maps/CVS/Entries index f7c7407..b0587e6 100644 --- a/src/maps/CVS/Entries +++ b/src/maps/CVS/Entries @@ -1,11 +1,9 @@ -/hash.cpp/1.1/Wed Feb 16 21:28:55 2005// -/hash.h/1.1/Wed Feb 16 21:28:55 2005// -/hashmap.h/1.7/Thu Feb 17 00:29:37 2005// -/hashmap.tmpl/1.3/Wed Feb 16 23:16:58 2005// -/mtools.h/1.6/Wed Feb 16 23:16:58 2005// -/mtools.tmpl/1.5/Wed Feb 16 23:16:58 2005// -/nhashmap.h/1.1/Wed Feb 16 22:36:32 2005// -/nhashmap.tmpl/1.1/Wed Feb 16 22:36:32 2005// -/shashmap.h/1.3/Wed Feb 16 23:16:58 2005// -/shashmap.tmpl/1.3/Wed Feb 16 23:16:58 2005// +/hmap.h/1.7/Thu Nov 18 13:41:47 2004// +/hmap.tmpl/1.7/Fri Jan 7 21:00:19 2005// +/mtools.h/1.4/Fri Jan 7 21:00:19 2005// +/mtools.tmpl/1.3/Thu Nov 18 13:41:47 2004// +/nmap.h/1.4/Fri Jan 7 21:00:19 2005// +/nmap.tmpl/1.3/Thu Nov 18 13:41:47 2004// +/smap.h/1.9/Fri Jan 7 21:00:19 2005// +/smap.tmpl/1.8/Fri Jan 7 21:00:19 2005// D diff --git a/src/maps/hmap.tmpl b/src/maps/hmap.tmpl index dcd0426..cc2ec24 100644 --- a/src/maps/hmap.tmpl +++ b/src/maps/hmap.tmpl @@ -286,8 +286,4 @@ hmap::get_size() return size; } - - - #endif - diff --git a/src/maps/mtools.h b/src/maps/mtools.h index c506674..6062191 100644 --- a/src/maps/mtools.h +++ b/src/maps/mtools.h @@ -1,27 +1,3 @@ -/*:* - *: File: ./src/maps/mtools.h - *: - *: yChat; Homepage: www.yChat.org; Version 0.7.9.5-RELEASE - *: - *: Copyright (C) 2003 Paul C. Buetow, Volker Richter - *: Copyright (C) 2004 Paul C. Buetow - *: Copyright (C) 2005 EXA Digital Solutions GbR - *: - *: This program is free software; you can redistribute it and/or - *: modify it under the terms of the GNU General Public License - *: as published by the Free Software Foundation; either version 2 - *: of the License, or (at your option) any later version. - *: - *: This program is distributed in the hope that it will be useful, - *: but WITHOUT ANY WARRANTY; without even the implied warranty of - *: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *: GNU General Public License for more details. - *: - *: You should have received a copy of the GNU General Public License - *: along with this program; if not, write to the Free Software - *: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *:*/ - #ifndef MTOOLS_H #define MTOOLS_H @@ -32,4 +8,4 @@ struct mtools }; #include "mtools.tmpl" -#endif +#endif diff --git a/src/maps/mtools.tmpl b/src/maps/mtools.tmpl index 3fb4a5f..dd3f89e 100644 --- a/src/maps/mtools.tmpl +++ b/src/maps/mtools.tmpl @@ -1,36 +1,11 @@ -/*:* - *: File: ./src/maps/mtools.tmpl - *: - *: yChat; Homepage: www.yChat.org; Version 0.7.9.5-RELEASE - *: - *: Copyright (C) 2003 Paul C. Buetow, Volker Richter - *: Copyright (C) 2004 Paul C. Buetow - *: Copyright (C) 2005 EXA Digital Solutions GbR - *: - *: This program is free software; you can redistribute it and/or - *: modify it under the terms of the GNU General Public License - *: as published by the Free Software Foundation; either version 2 - *: of the License, or (at your option) any later version. - *: - *: This program is distributed in the hope that it will be useful, - *: but WITHOUT ANY WARRANTY; without even the implied warranty of - *: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - *: GNU General Public License for more details. - *: - *: You should have received a copy of the GNU General Public License - *: along with this program; if not, write to the Free Software - *: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *:*/ - #ifndef MTOOLS_TMPL #define MTOOLS_TMPL template void -mtools::delete_obj( type_ type_obj ) -{ +mtools::delete_obj( type_ type_obj ) { if ( type_obj ) - delete type_obj; + delete type_obj; } #endif diff --git a/src/maps/nmap.h b/src/maps/nmap.h index 56d30f5..e29da3b 100644 --- a/src/maps/nmap.h +++ b/src/maps/nmap.h @@ -19,7 +19,4 @@ class nmap : public smap }; #include "nmap.tmpl" - #endif - - diff --git a/src/maps/smap.h b/src/maps/smap.h index 2096139..a3ee89d 100644 --- a/src/maps/smap.h +++ b/src/maps/smap.h @@ -13,7 +13,6 @@ template class smap : public hmap { - private: pthread_mutex_t mut_smap; @@ -53,5 +52,4 @@ class smap : public hmap }; #include "smap.tmpl" - #endif diff --git a/src/maps/smap.tmpl b/src/maps/smap.tmpl index 5ec7d38..670b84d 100644 --- a/src/maps/smap.tmpl +++ b/src/maps/smap.tmpl @@ -15,7 +15,6 @@ smap::~smap() pthread_mutex_destroy( &mut_smap ); } - template void smap::lock_mutex() { pthread_mutex_lock( &mut_smap ); @@ -165,7 +164,6 @@ void smap::make_empty_insecure( void (*func)(key_type) ) hmap::make_empty( func ); } - template void smap::add_elem_insecure( const obj_type &x, const key_type &k ) { @@ -214,6 +212,4 @@ smap::get_key_vector_insecure() return hmap::get_key_vector(); } - #endif - -- cgit v1.2.3