X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsockerr.c;h=45775f7d8b084f4c62703adb1ad568360e25483c;hb=3e9bdc4b4412453619340999d96d245c7f5f8b74;hp=f83ef71171ad0793711047925af5bb57b611e4c4;hpb=05bc30b15e31c427ce208495a889e9ff36e6642b;p=xboard.git diff --git a/winboard/wsockerr.c b/winboard/wsockerr.c index f83ef71..45775f7 100644 --- a/winboard/wsockerr.c +++ b/winboard/wsockerr.c @@ -1,3 +1,25 @@ +/* + * wsockerr.c + * + * Copyright 2009, 2010, 2011, 2012, 2013, 2014 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"},