summaryrefslogtreecommitdiffstats
path: root/gl/vsnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/vsnprintf.c')
-rw-r--r--gl/vsnprintf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gl/vsnprintf.c b/gl/vsnprintf.c
index cc8f61f1..02af2520 100644
--- a/gl/vsnprintf.c
+++ b/gl/vsnprintf.c
@@ -1,5 +1,5 @@
1/* Formatted output to strings. 1/* Formatted output to strings.
2 Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. 2 Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc.
3 Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>. 3 Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
@@ -31,11 +31,6 @@
31 31
32#include "vasnprintf.h" 32#include "vasnprintf.h"
33 33
34/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */
35#ifndef EOVERFLOW
36# define EOVERFLOW E2BIG
37#endif
38
39/* Print formatted output to string STR. Similar to vsprintf, but 34/* Print formatted output to string STR. Similar to vsprintf, but
40 additional length SIZE limit how much is written into STR. Returns 35 additional length SIZE limit how much is written into STR. Returns
41 string length of formatted string (which may be larger than SIZE). 36 string length of formatted string (which may be larger than SIZE).