mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: add __attribute__ ((nonnull(1)))
This commit is contained in:
parent
fd417db274
commit
132306c888
@ -42,6 +42,7 @@ int dev_cache_has_scanned(void);
|
||||
|
||||
int dev_cache_add_dir(const char *path);
|
||||
int dev_cache_add_loopfile(const char *path);
|
||||
__attribute__((nonnull(1)))
|
||||
struct device *dev_cache_get(const char *name, struct dev_filter *f);
|
||||
|
||||
// TODO
|
||||
|
@ -28,6 +28,7 @@ struct ttree {
|
||||
struct node *root;
|
||||
};
|
||||
|
||||
__attribute__((nonnull(1)))
|
||||
static struct node **_lookup_single(struct node **c, unsigned int k)
|
||||
{
|
||||
while (*c) {
|
||||
|
Loading…
Reference in New Issue
Block a user