X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftools%2Fg2%2Fclib.c;h=da9fd52c2d040e8359a113df55abcb659ce3db11;hb=320998a8126766c0db92d9c7652f765f9565a7b5;hp=845026b6b93efb34937501dedba587e9f3dcb988;hpb=903fd513e32a37e55aec0cfb4cf30e000680e0c3;p=vpp.git diff --git a/src/tools/g2/clib.c b/src/tools/g2/clib.c index 845026b6b93..da9fd52c2d0 100644 --- a/src/tools/g2/clib.c +++ b/src/tools/g2/clib.c @@ -1,4 +1,4 @@ -/* +/* *------------------------------------------------------------------ * Copyright (c) 2009-2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -35,19 +35,19 @@ #include "cpel.h" #include "g2.h" -int widest_track_format; +extern int widest_track_format; typedef struct bound_track_ { u32 track; u8 *track_str; } bound_track_t; -bound_track_t *bound_tracks; +extern bound_track_t *bound_tracks; -uword *the_evtdef_hash; /* (event-id, event-definition) hash */ -uword *the_trackdef_hash; /* (track-id, track-definition) hash */ +extern uword *the_evtdef_hash; /* (event-id, event-definition) hash */ +extern uword *the_trackdef_hash; /* (track-id, track-definition) hash */ -elog_main_t elog_main; +extern elog_main_t elog_main; void *get_clib_event (unsigned int datum) {