[PATCH] Stop warning of putenv

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Apr 22 20:49:22 PDT 2011


Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32696

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 src/util.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/util.h b/src/util.h
index 216e9d9..2abec55 100644
--- a/src/util.h
+++ b/src/util.h
@@ -89,6 +89,8 @@ extern Status I18N_GetIconName( Display *dpy, Window win, char **iconname);
 extern void SetFocus ( TwmWindow *tmp_win, Time time );
 extern void Bell ( int type, int percent, Window win );
 
+extern int putenv(char *s);
+
 extern int HotX, HotY;
 
 #define	WM_BELL			0
-- 
1.7.1


--------------060703000501050300040503--


More information about the xorg-devel mailing list