Skip to content

Commit

Permalink
Fix definition of print_scan() function
Browse files Browse the repository at this point in the history
Builds on Copr and OBS were failing because `print_scan()` function
definition was not prefixed with `static_fn`.
  • Loading branch information
siteshwar committed Aug 29, 2019
1 parent 75f9c39 commit 0b46d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/ksh93/bltins/typeset.c
Expand Up @@ -841,7 +841,7 @@ static_fn void print_attribute(Namval_t *np, void *data) {
// Print the nodes in tree <root> which have attributes <flag> set of <option> is non-zero, no
// subscript or value is printed.
//
void print_scan(Sfio_t *file, nvflag_t flag, Dt_t *root, bool omit_attrs, struct tdata *tp) {
static_fn void print_scan(Sfio_t *file, nvflag_t flag, Dt_t *root, bool omit_attrs, struct tdata *tp) {
char **argv;
Namval_t *np;
int namec;
Expand Down

0 comments on commit 0b46d8c

Please sign in to comment.