execute: define setup_smack() only if SMACK is enabled
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Dec 2017 05:04:12 +0000 (14:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Dec 2017 05:04:15 +0000 (14:04 +0900)
commit92b423b9b4bef15da24814a81420629808f7e21e
tree1ffb7dabcc0186e71cd45e2be56e54487466d7c2
parent4e066f7feda001f98884ee2a29647e44f3d45c4e
execute: define setup_smack() only if SMACK is enabled

This suppresses the following warning
```
execute.c:2149:12: warning: ‘setup_smack’ defined but not used [-Wunused-function]
 static int setup_smack(
            ^~~~~~~~~~~
```
src/core/execute.c