#endif
/* setting */
-static inline int setxattr (const char *path, const char *name, const void
- *value, size_t size, int flags)
+static int setxattr (const char *path, const char *name, const void
+ *value, size_t size, int flags)
{ errno = ENOTSUP; return -1; }
-static inline int lsetxattr (const char *path, const char *name, const void
- *value, size_t size, int flags)
+static int lsetxattr (const char *path, const char *name, const void
+ *value, size_t size, int flags)
{ errno = ENOTSUP; return -1; }
-static inline int fsetxattr (int filedes, const char *name, const void *value,
- size_t size, int flags)
+static int fsetxattr (int filedes, const char *name, const void *value,
+ size_t size, int flags)
{ errno = ENOTSUP; return -1; }
/* getting */
-static inline ssize_t getxattr (const char *path, const char *name, void *value,
- size_t size)
+static ssize_t getxattr (const char *path, const char *name, void *value,
+ size_t size)
{ errno = ENOTSUP; return -1; }
-static inline ssize_t lgetxattr (const char *path, const char *name, void
- *value, size_t size)
+static ssize_t lgetxattr (const char *path, const char *name, void
+ *value, size_t size)
{ errno = ENOTSUP; return -1; }
-static inline ssize_t fgetxattr (int filedes, const char *name, void *value,
- size_t size)
+static ssize_t fgetxattr (int filedes, const char *name, void *value,
+ size_t size)
{ errno = ENOTSUP; return -1; }
/* listing */
-static inline ssize_t listxattr (const char *path, char *list, size_t size)
+static ssize_t listxattr (const char *path, char *list, size_t size)
{ errno = ENOTSUP; return -1; }
-static inline ssize_t llistxattr (const char *path, char *list, size_t size)
+static ssize_t llistxattr (const char *path, char *list, size_t size)
{ errno = ENOTSUP; return -1; }
-static inline ssize_t flistxattr (int filedes, char *list, size_t size)
+static ssize_t flistxattr (int filedes, char *list, size_t size)
{ errno = ENOTSUP; return -1; }
#endif
/* wsp->ws_endp points to a delimiter character. If RETURN_DELIMS
is true, return its value, otherwise return the index past it. */
-static inline size_t
+static size_t
skip_delim_internal (struct wordsplit *wsp, int return_delims)
{
return return_delims ? wsp->ws_endp : wsp->ws_endp + 1;
}
-static inline size_t
+static size_t
skip_delim (struct wordsplit *wsp)
{
return skip_delim_internal (wsp, WSP_RETURN_DELIMS (wsp));
}
-static inline size_t
+static size_t
skip_delim_real (struct wordsplit *wsp)
{
return skip_delim_internal (wsp, wsp->ws_flags & WRDSF_RETURN_DELIMS);
{ NULL }
};
-static inline int
-exptab_matches(struct exptab *p, struct wordsplit *wsp)
+static int
+exptab_matches (struct exptab *p, struct wordsplit *wsp)
{
int result;
void wordsplit_free_envbuf (wordsplit_t *ws);
int wordsplit_get_words (wordsplit_t *ws, size_t *wordc, char ***wordv);
-static inline void wordsplit_getwords (wordsplit_t *ws, size_t *wordc, char ***wordv)
- DEPRECATED;
-
-static inline void
-wordsplit_getwords (wordsplit_t *ws, size_t *wordc, char ***wordv)
-{
- wordsplit_get_words (ws, wordc, wordv);
-}
-
int wordsplit_append (wordsplit_t *wsp, int argc, char **argv);
int wordsplit_c_unquote_char (int c);