Skip to content

Commit 58ca03f

Browse files
committed
utils: Use bool for tds_dstr_isempty
Just style change. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
1 parent f3c690e commit 58ca03f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/freetds/utils/string.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define _tdsguard_d2McTbRS3vmVcq0ls4BzwH_
2222

2323
#include <freetds/macros.h>
24+
#include <freetds/bool.h>
2425

2526
#include <freetds/pushvis.h>
2627

@@ -56,7 +57,7 @@ tds_dstr_init(DSTR * s)
5657
}
5758

5859
/** test if string is empty */
59-
static inline int
60+
static inline bool
6061
tds_dstr_isempty(const DSTR * s)
6162
{
6263
return (*s)->dstr_size == 0;

0 commit comments

Comments
 (0)