[uim-commit] r271 - trunk/uim
tkng@freedesktop.org
tkng@freedesktop.org
Wed Jan 12 11:18:03 PST 2005
Author: tkng
Date: 2005-01-12 11:18:00 -0800 (Wed, 12 Jan 2005)
New Revision: 271
Modified:
trunk/uim/setenv.c
Log:
* uim/setenv.c: Fixed the warning:ISO C forbids an empty source file
This warning was appeared on the system which already have setenv(3)
Modified: trunk/uim/setenv.c
===================================================================
--- trunk/uim/setenv.c 2005-01-12 18:16:44 UTC (rev 270)
+++ trunk/uim/setenv.c 2005-01-12 19:18:00 UTC (rev 271)
@@ -27,12 +27,12 @@
* SUCH DAMAGE.
*/
+#include <stdlib.h>
+#include <string.h>
+
#include "config.h"
#if !defined(HAVE_SETENV) || !defined(HAVE_UNSETENV)
-#include <stdlib.h>
-#include <string.h>
-
static char *__findenv(const char *name, int *offset);
#ifndef HAVE_SETENV
int setenv(const char *, const char *, int);
More information about the Uim-commit
mailing list