summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2007-11-18 02:20:02 +0000
committerjb <jb@FreeBSD.org>2007-11-18 02:20:02 +0000
commit1897d443737babd0f1fc863aaa795ababef2cc69 (patch)
tree806bfb9a30a25f180257ead37ca1fa1a69de2d0a /lib/libutil/libutil.h
parente14c498cfa6d5238a4bd07f36e48f48f211de745 (diff)
downloadFreeBSD-src-1897d443737babd0f1fc863aaa795ababef2cc69.zip
FreeBSD-src-1897d443737babd0f1fc863aaa795ababef2cc69.tar.gz
Constify the first argument to expand_number() so that it can
be called with a const without the compiler grisling.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 1df9510..aa663a7 100644
--- a/lib/libutil/libutil.h
+++ b/lib/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);
OpenPOWER on IntegriCloud