X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsockerr.c;h=7c964ebb04dd47931cf146edb60bf66a53803e0e;hb=91d8e5853ca580769cc130aa6ea004869118d171;hp=f83ef71171ad0793711047925af5bb57b611e4c4;hpb=a49a080da8e49d3d814116eb96205dbf77d6536b;p=xboard.git diff --git a/winboard/wsockerr.c b/winboard/wsockerr.c index f83ef71..7c964eb 100644 --- a/winboard/wsockerr.c +++ b/winboard/wsockerr.c @@ -1,3 +1,25 @@ +/* + * wsockerr.c + * + * Copyright 2009 Free Software Foundation, Inc. + * ------------------------------------------------------------------------ + * + * GNU XBoard is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. * + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ + /* Windows sockets error map */ /* These messages ought to be in the Windows message catalog! */ @@ -5,7 +27,7 @@ #include #include "wsockerr.h" -ErrorMap errmap[] = +ErrorMap errmap[] = { {WSAEINTR, "Interrupted system call"}, {WSAEBADF, "Bad file number"}, {WSAEACCES, "Permission denied"},