diff --git a/THANKS.in b/THANKS.in index 83bee6a7e..47144a5ce 100644 --- a/THANKS.in +++ b/THANKS.in @@ -566,7 +566,6 @@ Rudolf Kastl rkastl@redhat.com Sahil Amoli sahilamoli@gmail.com Sami Farin sfarin@ratol.fi Samuel Neves sneves@dei.uc.pt -Samuel Tardieu sam@rfc1149.net Samuel Thibault samuel.thibault@ens-lyon.org Samuli Karkkainen Samuli.Karkkainen@hut.fi Sander van Malssen svm@kozmix.ow.nl diff --git a/src/date.c b/src/date.c index 39fc0715d..03bf012e2 100644 --- a/src/date.c +++ b/src/date.c @@ -294,6 +294,7 @@ Show the local time for 9AM next Friday on the west coast of the US\n\ /* Yield the number of decimal digits needed to output a time with the nanosecond resolution RES, without losing information. */ +ATTRIBUTE_CONST static int res_width (long int res) { diff --git a/src/tee.c b/src/tee.c index 07d525c95..eb074427c 100644 --- a/src/tee.c +++ b/src/tee.c @@ -185,6 +185,7 @@ main (int argc, char **argv) /* Return the index of the first non-null descriptor after idx, or -1 if all are null. */ +ATTRIBUTE_PURE static int get_next_out (FILE **descriptors, int nfiles, int idx) {