summaryrefslogtreecommitdiff
path: root/src/libudev/strv.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-08-02 20:46:21 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-08-02 20:46:21 -0400
commita3cd924ecba40190703919285f5e2ef559d32ccd (patch)
tree344f2193c6d74d41bd6d34e828434350c4304d78 /src/libudev/strv.h
parenta57c8bba0d0c81cd3f884e173ff56f25b5946cf1 (diff)
src/libudev/{strv,util}.{h,c}: reorder functions
We reorder the functions prototypes and definitions to match upstream as in commit aa417a4d83999f6d7f092161d5c411b8cbce9977. The order was lost when that commit was revert and the functions re-introduced in later commits. Preserving the order helps to better track upstream changes when doing a diff between files. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/strv.h')
-rw-r--r--src/libudev/strv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libudev/strv.h b/src/libudev/strv.h
index ba2bc2f589..9fba94e566 100644
--- a/src/libudev/strv.h
+++ b/src/libudev/strv.h
@@ -36,9 +36,10 @@ static inline void strv_freep(char ***l) {
char **strv_copy(char * const *l);
unsigned strv_length(char * const *l) _pure_;
-char **strv_remove(char **l, const char *s);
-int strv_push(char ***l, char *value);
int strv_extend(char ***l, const char *value);
+int strv_push(char ***l, char *value);
+
+char **strv_remove(char **l, const char *s);
char **strv_uniq(char **l);
char **strv_new(const char *x, ...) _sentinel_;