From 76d8e9abe18c3e3ed6dc37338b75140e06555cd5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 4 Jun 2011 10:41:08 +0200 Subject: buffer_lcm: declare with _GL_ATTRIBUTE_CONST * lib/buffer-lcm.h (buffer_lcm): Use _GL_ATTRIBUTE_CONST. * lib/buffer-lcm.c: Include . --- lib/buffer-lcm.c | 1 + lib/buffer-lcm.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/buffer-lcm.c b/lib/buffer-lcm.c index 022a73117..87503afb9 100644 --- a/lib/buffer-lcm.c +++ b/lib/buffer-lcm.c @@ -17,6 +17,7 @@ /* Written by Paul Eggert. */ +#include #include "buffer-lcm.h" /* Return a buffer size suitable for doing I/O with files whose block diff --git a/lib/buffer-lcm.h b/lib/buffer-lcm.h index 9a6cdf5f0..454c65be8 100644 --- a/lib/buffer-lcm.h +++ b/lib/buffer-lcm.h @@ -1,2 +1,2 @@ #include -size_t buffer_lcm (size_t, size_t, size_t); +size_t buffer_lcm (size_t, size_t, size_t) _GL_ATTRIBUTE_CONST; -- cgit v1.2.1