diff src/win32/libc_interface.c @ 5913:9657e243d001

[gaim-migrate @ 6345] win32 adjustments for header re-org, and GPL header insertions where missing committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 17 Jun 2003 18:56:53 +0000
parents 0b355ec51083
children 26b739bc9f1a
line wrap: on
line diff
--- a/src/win32/libc_interface.c	Tue Jun 17 18:53:49 2003 +0000
+++ b/src/win32/libc_interface.c	Tue Jun 17 18:56:53 2003 +0000
@@ -1,9 +1,26 @@
 /*
- *  libc_interface.c
- *  
- *  Author: Herman Bloggs <hermanator12002@yahoo.com>
- *  Date: October 14, 2002
- *  Description: Commonly used libc routines.
+ * gaim
+ *
+ * File: libc_interface.c
+ * Date: October 14, 2002
+ * Description: libc interface for Windows api
+ * 
+ * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com>
+ *
+ * This program 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
  */
 #include <winsock.h>
 #include <io.h>
@@ -348,7 +365,7 @@
 	struct tm* tmptm;
 
 	if(!time)
-		return;
+		return NULL;
 	tmptm = localtime(time);
 	if(resultp && tmptm)
 		return memcpy(resultp, tmptm, sizeof(struct tm));