diff options
author | John Birrell <jb@FreeBSD.org> | 2007-11-18 02:20:02 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2007-11-18 02:20:02 +0000 |
commit | 304e7ee25328da74df1ba010fe517826d81ebdb6 (patch) | |
tree | eaebf84840732bafd0dc097e9f6c8e576dd913c2 /libutil | |
parent | 484fee891ea7d9e19c9ed1f666922d260d60c4f1 (diff) | |
download | pw-darwin-304e7ee25328da74df1ba010fe517826d81ebdb6.tar.gz pw-darwin-304e7ee25328da74df1ba010fe517826d81ebdb6.tar.zst pw-darwin-304e7ee25328da74df1ba010fe517826d81ebdb6.zip |
Constify the first argument to expand_number() so that it can
be called with a const without the compiler grisling.
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/libutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 1df9510..aa663a7 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -82,7 +82,7 @@ int forkpty(int *_amaster, char *_name, struct termios *_termp, struct winsize *_winp); int humanize_number(char *_buf, size_t _len, int64_t _number, const char *_suffix, int _scale, int _flags); -int expand_number(char *_buf, int64_t *_num); +int expand_number(const char *_buf, int64_t *_num); const char *uu_lockerr(int _uu_lockresult); int uu_lock(const char *_ttyname); int uu_unlock(const char *_ttyname); |