aboutsummaryrefslogtreecommitdiffstats
path: root/src/tagTracker.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2005-11-19 10:52:47 +0000
committerEric Wong <normalperson@yhbt.net>2005-11-19 10:52:47 +0000
commitf8597ccf257eb925db508cfc37a494e2b1397e64 (patch)
tree0bafdb0be022427f1d84dcae2e10f5e70f84c3d8 /src/tagTracker.c
parente8a54efe414d9d25b71cef910b15935bea8c530e (diff)
downloadmpd-f8597ccf257eb925db508cfc37a494e2b1397e64.tar.gz
mpd-f8597ccf257eb925db508cfc37a494e2b1397e64.tar.xz
mpd-f8597ccf257eb925db508cfc37a494e2b1397e64.zip
remove C++ style comments
git-svn-id: https://svn.musicpd.org/mpd/trunk@3689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tagTracker.c')
-rw-r--r--src/tagTracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tagTracker.c b/src/tagTracker.c
index 4fb326535..4e3aa5910 100644
--- a/src/tagTracker.c
+++ b/src/tagTracker.c
@@ -90,7 +90,7 @@ int getNumberOfTagItems(int type) {
return g_tree_nnodes(tagLists[type]);
}
int calcSavedMemory(char *key, TagTrackerItem* value, int* sum) {
- *sum -= sizeof(int) + 4*sizeof(void*); //sizeof(_GTreeNode)
+ *sum -= sizeof(int) + 4*sizeof(void*); /* sizeof(_GTreeNode) */
*sum -= sizeof(TagTrackerItem);
*sum += (strlen(key)+1)*value->count;
return FALSE;
@@ -103,7 +103,7 @@ void printMemorySavedByTagTracker() {
for(i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) {
if(!tagLists[i]) continue;
- sum -= 5*sizeof(void*);//sizeof(_GTree)
+ sum -= 5*sizeof(void*);/* sizeof(_GTree) */
g_tree_foreach(tagLists[i], (GTraverseFunc)calcSavedMemory, &sum);
}