summaryrefslogtreecommitdiff
path: root/tools/lib/subcmd/pager.h
blob: 623f5542d05dea5435f76153bcde8e11af3c7f16 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __SUBCMD_PAGER_H
#define __SUBCMD_PAGER_H

extern void pager_init(const char *pager_env);

extern void setup_pager(void);
extern int pager_in_use(void);
extern int pager_get_columns(void);

#endif /* __SUBCMD_PAGER_H */
st.de>2016-12-01 10:50:49 +0100 commite16769d4bca67218531505ad1a8365d227fedcf9 (patch) treea60ede285d2cb1c296139c7bd1b95309e29a256b /include/trace/events parente5517c2a5a49ed5e99047008629f1cd60246ea0e (diff)
fs: configfs: don't return anything from drop_link
Documentation/filesystems/configfs/configfs.txt says: "When unlink(2) is called on the symbolic link, the source item is notified via the ->drop_link() method. Like the ->drop_item() method, this is a void function and cannot return failure." The ->drop_item() is indeed a void function, the ->drop_link() is actually not. This, together with the fact that the value of ->drop_link() is silently ignored suggests, that it is the ->drop_link() return type that should be corrected and changed to void. This patch changes drop_link() signature and all its users. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> [hch: reverted reformatting of some code] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/trace/events')