Alexandre Julliard : msvcrt: Make error strings static.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 24 07:48:19 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 28486da99111d7bb9dbca4b97c224d60e2699f8d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=28486da99111d7bb9dbca4b97c224d60e2699f8d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jan 24 14:00:46 2006 +0100
msvcrt: Make error strings static.
---
dlls/msvcrt/errno.c | 80 ++++++++++++++++++++++++++-------------------------
1 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/dlls/msvcrt/errno.c b/dlls/msvcrt/errno.c
index 656e5ba..aee8e79 100644
--- a/dlls/msvcrt/errno.c
+++ b/dlls/msvcrt/errno.c
@@ -27,46 +27,46 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* error strings generated with glibc strerror */
-char str_success[] = "Success";
-char str_EPERM[] = "Operation not permitted";
-char str_ENOENT[] = "No such file or directory";
-char str_ESRCH[] = "No such process";
-char str_EINTR[] = "Interrupted system call";
-char str_EIO[] = "Input/output error";
-char str_ENXIO[] = "No such device or address";
-char str_E2BIG[] = "Argument list too long";
-char str_ENOEXEC[] = "Exec format error";
-char str_EBADF[] = "Bad file descriptor";
-char str_ECHILD[] = "No child processes";
-char str_EAGAIN[] = "Resource temporarily unavailable";
-char str_ENOMEM[] = "Cannot allocate memory";
-char str_EACCES[] = "Permission denied";
-char str_EFAULT[] = "Bad address";
-char str_EBUSY[] = "Device or resource busy";
-char str_EEXIST[] = "File exists";
-char str_EXDEV[] = "Invalid cross-device link";
-char str_ENODEV[] = "No such device";
-char str_ENOTDIR[] = "Not a directory";
-char str_EISDIR[] = "Is a directory";
-char str_EINVAL[] = "Invalid argument";
-char str_ENFILE[] = "Too many open files in system";
-char str_EMFILE[] = "Too many open files";
-char str_ENOTTY[] = "Inappropriate ioctl for device";
-char str_EFBIG[] = "File too large";
-char str_ENOSPC[] = "No space left on device";
-char str_ESPIPE[] = "Illegal seek";
-char str_EROFS[] = "Read-only file system";
-char str_EMLINK[] = "Too many links";
-char str_EPIPE[] = "Broken pipe";
-char str_EDOM[] = "Numerical argument out of domain";
-char str_ERANGE[] = "Numerical result out of range";
-char str_EDEADLK[] = "Resource deadlock avoided";
-char str_ENAMETOOLONG[] = "File name too long";
-char str_ENOLCK[] = "No locks available";
-char str_ENOSYS[] = "Function not implemented";
-char str_ENOTEMPTY[] = "Directory not empty";
-char str_EILSEQ[] = "Invalid or incomplete multibyte or wide character";
-char str_generic_error[] = "Unknown error";
+static char str_success[] = "Success";
+static char str_EPERM[] = "Operation not permitted";
+static char str_ENOENT[] = "No such file or directory";
+static char str_ESRCH[] = "No such process";
+static char str_EINTR[] = "Interrupted system call";
+static char str_EIO[] = "Input/output error";
+static char str_ENXIO[] = "No such device or address";
+static char str_E2BIG[] = "Argument list too long";
+static char str_ENOEXEC[] = "Exec format error";
+static char str_EBADF[] = "Bad file descriptor";
+static char str_ECHILD[] = "No child processes";
+static char str_EAGAIN[] = "Resource temporarily unavailable";
+static char str_ENOMEM[] = "Cannot allocate memory";
+static char str_EACCES[] = "Permission denied";
+static char str_EFAULT[] = "Bad address";
+static char str_EBUSY[] = "Device or resource busy";
+static char str_EEXIST[] = "File exists";
+static char str_EXDEV[] = "Invalid cross-device link";
+static char str_ENODEV[] = "No such device";
+static char str_ENOTDIR[] = "Not a directory";
+static char str_EISDIR[] = "Is a directory";
+static char str_EINVAL[] = "Invalid argument";
+static char str_ENFILE[] = "Too many open files in system";
+static char str_EMFILE[] = "Too many open files";
+static char str_ENOTTY[] = "Inappropriate ioctl for device";
+static char str_EFBIG[] = "File too large";
+static char str_ENOSPC[] = "No space left on device";
+static char str_ESPIPE[] = "Illegal seek";
+static char str_EROFS[] = "Read-only file system";
+static char str_EMLINK[] = "Too many links";
+static char str_EPIPE[] = "Broken pipe";
+static char str_EDOM[] = "Numerical argument out of domain";
+static char str_ERANGE[] = "Numerical result out of range";
+static char str_EDEADLK[] = "Resource deadlock avoided";
+static char str_ENAMETOOLONG[] = "File name too long";
+static char str_ENOLCK[] = "No locks available";
+static char str_ENOSYS[] = "Function not implemented";
+static char str_ENOTEMPTY[] = "Directory not empty";
+static char str_EILSEQ[] = "Invalid or incomplete multibyte or wide character";
+static char str_generic_error[] = "Unknown error";
char *MSVCRT__sys_errlist[] =
{
More information about the wine-cvs
mailing list