projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve use of compiler attributes
[tinc]
/
src
/
utils.h
diff --git
a/src/utils.h
b/src/utils.h
index
bd5ce13
..
f02bb9f
100644
(file)
--- a/
src/utils.h
+++ b/
src/utils.h
@@
-72,10
+72,10
@@
static inline suseconds_t jitter(void) {
extern bool check_id(const char *id);
extern bool check_netname(const char *netname, bool strict);
extern bool check_id(const char *id);
extern bool check_netname(const char *netname, bool strict);
-char *replace_name(const char *name);
+char *replace_name(const char *name)
ATTR_MALLOC
;
char *absolute_path(const char *path) ATTR_MALLOC;
char *absolute_path(const char *path) ATTR_MALLOC;
-extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms);
+extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms)
ATTR_DEALLOCATOR(fclose)
;
#endif
#endif