summaryrefslogtreecommitdiffstats
path: root/libc/include/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/resolv.h')
-rw-r--r--libc/include/resolv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/resolv.h b/libc/include/resolv.h
index 7c34012..221410d 100644
--- a/libc/include/resolv.h
+++ b/libc/include/resolv.h
@@ -40,7 +40,7 @@ __BEGIN_DECLS
struct res_state;
-extern struct __res_state *__res_state(void);
+extern struct __res_state *__res_state(void) __attribute__((const));
#define _res (*__res_state())
/* Base-64 functions - because some code expects it there */