diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-03 03:25:06 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-03 03:25:06 -0300 |
commit | aafd38359adfd93b1f8c1e84b8bd7bc9e1b0b6cf (patch) | |
tree | 863b308278424abf9486c00e12942af67d794208 /shared | |
parent | b18979b770b391d81ad45372f1670297c836b640 (diff) | |
download | kmod-aafd38359adfd93b1f8c1e84b8bd7bc9e1b0b6cf.tar.gz kmod-aafd38359adfd93b1f8c1e84b8bd7bc9e1b0b6cf.tar.bz2 kmod-aafd38359adfd93b1f8c1e84b8bd7bc9e1b0b6cf.zip |
Rename getline_wrapped() to freadline_wrapped()
Diffstat (limited to 'shared')
-rw-r--r-- | shared/util.c | 2 | ||||
-rw-r--r-- | shared/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/util.c b/shared/util.c index 0113967..8491b18 100644 --- a/shared/util.c +++ b/shared/util.c @@ -160,7 +160,7 @@ int read_str_ulong(int fd, unsigned long *value, int base) * If linenum is not NULL, it is incremented by the number of physical lines * which have been read. */ -char *getline_wrapped(FILE *fp, unsigned int *linenum) +char *freadline_wrapped(FILE *fp, unsigned int *linenum) { int size = 256; int i = 0, n = 0; diff --git a/shared/util.h b/shared/util.h index 1ed7214..7fcb242 100644 --- a/shared/util.h +++ b/shared/util.h @@ -22,7 +22,7 @@ ssize_t read_str_safe(int fd, char *buf, size_t buflen) _must_check_ __attribute ssize_t write_str_safe(int fd, const char *buf, size_t buflen) __attribute__((nonnull(2))); int read_str_long(int fd, long *value, int base) _must_check_ __attribute__((nonnull(2))); int read_str_ulong(int fd, unsigned long *value, int base) _must_check_ __attribute__((nonnull(2))); -char *getline_wrapped(FILE *fp, unsigned int *linenum) __attribute__((nonnull(1))); +char *freadline_wrapped(FILE *fp, unsigned int *linenum) __attribute__((nonnull(1))); /* path handling functions */ /* ************************************************************************ */ |