From 304e7ee25328da74df1ba010fe517826d81ebdb6 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sun, 18 Nov 2007 02:20:02 +0000 Subject: Constify the first argument to expand_number() so that it can be called with a const without the compiler grisling. --- libutil/libutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libutil') 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); -- cgit v1.2.3