diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-14 11:25:31 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-14 11:25:31 -0500 |
commit | 2be742d02d8dd26e111713d9bb52cd240d7d630b (patch) | |
tree | 84a5091db97f6c14515ce871922c431c0fe9eaca /include/util.h | |
parent | Merge pull request #316 from Streetwalrus/fglrx (diff) | |
parent | Add bar id to debug logs (diff) | |
download | sway-2be742d02d8dd26e111713d9bb52cd240d7d630b.tar.gz sway-2be742d02d8dd26e111713d9bb52cd240d7d630b.tar.zst sway-2be742d02d8dd26e111713d9bb52cd240d7d630b.zip |
Merge pull request #314 from mikkeloscar/bar-id
Add initial support for custom bar-id
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 8e65e6d6..9cb861dd 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -6,4 +6,9 @@ | |||
6 | */ | 6 | */ |
7 | int wrap(int i, int max); | 7 | int wrap(int i, int max); |
8 | 8 | ||
9 | /** | ||
10 | * Count number of digits in int | ||
11 | */ | ||
12 | int numlen(int n); | ||
13 | |||
9 | #endif | 14 | #endif |