diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2003-01-13 04:15:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-01-13 04:15:07 -0800 |
| commit | e7cb6b009184b95cb002ca771732348c7d9fb329 (patch) | |
| tree | a7d77048a8c11b3f899e376b5e2cf398453366c7 /include/net | |
| parent | e6621985a2a414709c0058d2d5526ff09dabf4cd (diff) | |
[PATCH] namespace pollution in irda_irias
From: Arnd Bergmann <arnd@bergmann-dalldorf.de>
A global variable should not be named 'objects' like in
irias_object.c. This patch puts it into the right
namespace.
Also, strndup() is made static.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/irda/irias_object.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/net/irda/irias_object.h b/include/net/irda/irias_object.h index 36ad1d897867..0a210380e549 100644 --- a/include/net/irda/irias_object.h +++ b/include/net/irda/irias_object.h @@ -78,8 +78,6 @@ struct ias_attrib { struct ias_value *value; /* Attribute value */ }; -char *strndup(char *str, int max); - struct ias_object *irias_new_object(char *name, int id); void irias_insert_object(struct ias_object *obj); int irias_delete_object(struct ias_object *obj); @@ -104,6 +102,6 @@ struct ias_value *irias_new_missing_value(void); void irias_delete_value(struct ias_value *value); extern struct ias_value missing; -extern hashbin_t *objects; +extern hashbin_t *irias_objects; #endif |
