Fix: API: remove unsupported BT_SEEK_END from API
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Aug 2012 01:19:47 +0000 (21:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Aug 2012 01:19:47 +0000 (21:19 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/babeltrace/iterator.h
lib/iterator.c

index e658eeec0b5cdc8789e684ca630b4c04d9396d67..22dabb479048e75007a30a40d1cc62e83e0687d9 100644 (file)
@@ -54,7 +54,6 @@ struct bt_iter_pos {
                BT_SEEK_RESTORE,        /* uses u.restore */
                BT_SEEK_CUR,
                BT_SEEK_BEGIN,
-               BT_SEEK_END,
                BT_SEEK_LAST,
        } type;
        union {
index a06d66bdd34790feaea7a2ca477b59b0b89fd93a..b57be035057923a5bee693c3e3889a4ef1f8d26b 100644 (file)
@@ -625,7 +625,6 @@ static int babeltrace_filestream_seek(struct ctf_file_stream *file_stream,
                break;
        case BT_SEEK_TIME:
        case BT_SEEK_RESTORE:
-       case BT_SEEK_END:
        default:
                assert(0); /* Not yet defined */
        }
This page took 0.025402 seconds and 4 git commands to generate.