Mercurial > hg > octave-shane > gnulib-hg
changeset 5293:3e17fb121416
Remove comments as to why each header is needed.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 01 Oct 2004 18:54:53 +0000 |
parents | facb079a01da |
children | 4d09e7debbbb |
files | lib/snprintf.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/snprintf.c +++ b/lib/snprintf.c @@ -20,22 +20,15 @@ # include <config.h> #endif -/* Specification. */ #include "snprintf.h" -/* Get va_list, va_start, va_end. */ #include <stdarg.h> -/* Get free. */ #include <stdlib.h> -/* Get memcpy, size_t. */ #include <string.h> -/* Get vasnprintf. */ +#include "minmax.h" #include "vasnprintf.h" -/* Get MIN. */ -#include "minmax.h" - /* Print formatted output to string STR. Similar to sprintf, but additional length SIZE limit how much is written into STR. Returns string length of formatted string (which may be larger than SIZE).