Skip to content

Commit 744de99

Browse files
committed
testsuite: remove unnecessary config.h include
Problem: We should not include config.h when testing a public interface and not using anything else internally. Remove config.h in t/module/legacy.c.
1 parent efb9ee3 commit 744de99

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/module/legacy.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11-
#if HAVE_CONFIG_H
12-
#include "config.h"
13-
#endif
11+
/* Do not include project config.h, we are testing public module
12+
* interface */
1413
#include <flux/core.h>
1514

1615
int mod_main (flux_t *h, int argc, char **argv)

0 commit comments

Comments
 (0)