summaryrefslogtreecommitdiffstats
path: root/src/util/strtonum.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-18 13:22:45 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-23 08:31:33 -0500
commiteac695ff9189fcfcea0f233a01abf582ff685c30 (patch)
tree5b6535f8c515fec1d1a9120d05516479fc9a1071 /src/util/strtonum.h
parent01171ddb20034578c616d0ba07f0268ab71809da (diff)
downloadsssd-eac695ff9189fcfcea0f233a01abf582ff685c30.tar.gz
sssd-eac695ff9189fcfcea0f233a01abf582ff685c30.tar.xz
sssd-eac695ff9189fcfcea0f233a01abf582ff685c30.zip
UTIL: Add strtouint16
Diffstat (limited to 'src/util/strtonum.h')
-rw-r--r--src/util/strtonum.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/strtonum.h b/src/util/strtonum.h
index 450959621..d9c31e9cd 100644
--- a/src/util/strtonum.h
+++ b/src/util/strtonum.h
@@ -29,4 +29,6 @@
int32_t strtoint32(const char *nptr, char **endptr, int base);
uint32_t strtouint32(const char *nptr, char **endptr, int base);
+uint16_t strtouint16(const char *nptr, char **endptr, int base);
+
#endif /* _STRTONUM_H_ */