X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=mem.h;h=88086d4527050bb341e9eb076490af453561e445;hp=de9356790de70d262c6eb1dc7c09736ee9068985;hb=adc800dbc424a1e246dd4a82a0c2e88eeda25531;hpb=5e1b22d763640c4d7a09d07920403d8d491b4410 diff --git a/mem.h b/mem.h index de93567..88086d4 100644 --- a/mem.h +++ b/mem.h @@ -13,14 +13,14 @@ * 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., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #ifndef __MEM_H_ #define __MEM_H_ #include "keystructs.h" +#include "stats.h" /** * packet_dup - duplicate an OpenPGP packet. @@ -84,14 +84,4 @@ void free_signedpacket_list( */ void free_publickey(struct openpgp_publickey *key); -/** - * free_statskey - free an stats key structure. - * @key: The key to free. - * - * Takes a stats key and frees the memory used by it and the linked list - * of sigs under it. Doesn't recurse into the list as it's assumed all the - * objects referenced also exist in the hash. - */ -void free_statskey(struct stats_key *key); - #endif /* __MEM_H_ */