diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-28 14:42:13 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-31 23:03:30 +0200 |
| commit | a805d3bbb18f9cbaabf87850ba944b036e39240f (patch) | |
| tree | b66a4048687b5c7b4cd73805d454483ed3d32463 /qpb | |
| parent | 0f8b5fd5a05c1261061a94270218b701c1298719 (diff) | |
protobuf: fix build
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'qpb')
| -rw-r--r-- | qpb/qpb.proto | 4 | ||||
| -rw-r--r-- | qpb/qpb_allocator.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/qpb/qpb.proto b/qpb/qpb.proto index a1595a9abd..c06debb954 100644 --- a/qpb/qpb.proto +++ b/qpb/qpb.proto @@ -20,6 +20,8 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +syntax = "proto2"; + /* * Protobuf definitions pertaining to the Quagga/FRR Protobuf component. */ @@ -87,4 +89,4 @@ enum Protocol { ISIS = 8; BGP = 9; OTHER = 10; -}
\ No newline at end of file +} diff --git a/qpb/qpb_allocator.c b/qpb/qpb_allocator.c index 8b0ee941a5..7e5ba5b0ce 100644 --- a/qpb/qpb_allocator.c +++ b/qpb/qpb_allocator.c @@ -42,8 +42,7 @@ static void _qpb_free(void *allocator_data, void *ptr) linear_allocator_free(allocator_data, ptr); } -static ProtobufCAllocator allocator_template = {_qpb_alloc, _qpb_free, NULL, - 8192, NULL}; +static ProtobufCAllocator allocator_template = {_qpb_alloc, _qpb_free, NULL}; /* * qpb_allocator_init_linear |
