diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-10-15 18:40:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-15 18:40:45 -0700 |
| commit | 72e56221bd77d2ba6b317376735bf54e78645b66 (patch) | |
| tree | 6591ee856408b936fdbae363cea1f88df3b5e758 /include | |
| parent | e091bcb6752556272a64b38428144de7c8ce1053 (diff) | |
[PATCH] kNFSd: Change names of some exported functions
... as generic names probably aren't such a good idea.
Also sort the related EXPORT_SYMBOLS.
A 'qword' is a 'quoted word' and can be added, added as hex,
or got (getted??).
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sunrpc/cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index c58ac88e3b84..3d37e47dd968 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h @@ -271,16 +271,16 @@ extern int cache_unregister(struct cache_detail *cd); extern struct cache_detail *cache_find(char *name); extern void cache_drop(struct cache_detail *detail); -extern void add_word(char **bpp, int *lp, char *str); -extern void add_hex(char **bpp, int *lp, char *buf, int blen); -extern int get_word(char **bpp, char *dest, int bufsize); +extern void qword_add(char **bpp, int *lp, char *str); +extern void qword_addhex(char **bpp, int *lp, char *buf, int blen); +extern int qword_get(char **bpp, char *dest, int bufsize); static inline int get_int(char **bpp, int *anint) { char buf[50]; char *ep; int rv; - int len = get_word(bpp, buf, 50); + int len = qword_get(bpp, buf, 50); if (len < 0) return -EINVAL; if (len ==0) return -ENOENT; rv = simple_strtol(buf, &ep, 0); |
