diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-03 21:20:43 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-10-19 15:38:45 +0200 |
commit | 4c66eb6d4cbdddc658e5f0274d8130155c6013f1 (patch) | |
tree | 8446343e944911b68b590a4bb5f834476f13230b /UsersTable.c | |
parent | 577416d1a946382ab9f0c523e5fae755f9d71f69 (diff) |
XUtils string related updates
- allow count out-parameter of String_split() to be NULL
- introduce xStrndup()
- do not allow NULL pointers passed to String_eq()
it is not used in any code
- implement String_startsWith(), String_contains_i() and String_eq()
as inline header functions
- adjust several conversion issues
Diffstat (limited to 'UsersTable.c')
-rw-r--r-- | UsersTable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/UsersTable.c b/UsersTable.c index 89fdfc4d..83c6dbc3 100644 --- a/UsersTable.c +++ b/UsersTable.c @@ -5,6 +5,8 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include "config.h" // IWYU pragma: keep + #include "UsersTable.h" #include <pwd.h> |