summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorPascal Mathis <mail@pascalmathis.com>2018-05-13 19:11:43 +0200
committerPascal Mathis <mail@pascalmathis.com>2018-05-13 19:11:43 +0200
commit4911ca9cab5d75b5031edb83b52423ed47798324 (patch)
tree17eee5c4c06d2dc8be13ac389ec72c469701c9be /lib/workqueue.c
parenteb83f7ce842944518bac726c19eb071257a2ed56 (diff)
lib: Moved no-password warnings into header file
The warning string which appears when the users executes 'no (enable) password' was moved into command.h and declared as a constant named 'NO_PASSWD_CMD_WARNING'. This avoids duplicate code and makes it easy to change the warning message in all places at once. Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions