summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-02 09:12:14 +0000
committerMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-02 09:12:14 +0000
commit13b1162ae35520b2ef563914fff32ea410a4a485 (patch)
tree71b8ba7c8fb283b6852c359a1b5356906a69a117
parentb254cc7c2a0bd3e05ea0ed09869a6b05fa785301 (diff)
remove c++ comments
ok gilles@
-rw-r--r--usr.sbin/ldapd/btree.c6
-rw-r--r--usr.sbin/ldapd/parse.y3
2 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/ldapd/btree.c b/usr.sbin/ldapd/btree.c
index 90997c22d98..ae4c2f00fc0 100644
--- a/usr.sbin/ldapd/btree.c
+++ b/usr.sbin/ldapd/btree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btree.c,v 1.2 2010/05/31 18:29:04 martinh Exp $ */
+/* $OpenBSD: btree.c,v 1.3 2010/06/02 09:12:13 martinh Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -2093,7 +2093,6 @@ btree_move_node(struct btree *bt, struct mpage *src, indx_t srcindx,
DPRINTF("update separator for source page %u to [%.*s]",
src->pgno, (int)key.size, (char *)key.data);
-// ? bt_reduce_separator(bt, node, &key);
if (btree_update_key(bt, src->parent, src->parent_index,
&key) != BT_SUCCESS)
return BT_FAIL;
@@ -2118,7 +2117,6 @@ btree_move_node(struct btree *bt, struct mpage *src, indx_t srcindx,
DPRINTF("update separator for destination page %u to [%.*s]",
dst->pgno, (int)key.size, (char *)key.data);
-// ? bt_reduce_separator(bt, node, &key);
if (btree_update_key(bt, dst->parent, dst->parent_index,
&key) != BT_SUCCESS)
return BT_FAIL;
@@ -2840,7 +2838,7 @@ btree_compact(struct btree *bt)
if (rename(compact_path, bt->path) != 0)
goto failed;
- // XXX: write a "reopen me" meta page for other processes to see
+ /* XXX: write a "reopen me" meta page for other processes to see */
btree_txn_abort(txn);
close(old_fd);
diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y
index 89d0b82423a..25e48b67a78 100644
--- a/usr.sbin/ldapd/parse.y
+++ b/usr.sbin/ldapd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.2 2010/05/31 18:29:04 martinh Exp $ */
+/* $OpenBSD: parse.y,v 1.3 2010/06/02 09:12:13 martinh Exp $ */
/*
* Copyright (c) 2009 Martin Hedenfalk <martin@bzero.se>
@@ -588,7 +588,6 @@ include : INCLUDE STRING {
free($2);
file = nfile;
- // lungetc('\n');
}
;