]> git.sur5r.net Git - openocd/commit
helper/jim: review scope of symbols
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 18 Jun 2010 03:39:43 +0000 (11:39 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 18 Jun 2010 05:52:47 +0000 (07:52 +0200)
commitcebd817cee515fda9d697c5c8d23992254805346
tree6b4fb20d0593723aa4acfb778ebbc51b284e837e
parentada8f5963d0263d9e839c371641fdb4dd611f436
helper/jim: review scope of symbols

Add "static" qualifier to private functions.

Function Jim_InterpolateTokens() is private, but has not
been changed to "static".
This function is called only once, so compiler inlines it.
After inline, there is a warning for variable uninitialized.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/jim.c