src/protocols/zephyr/ZSetFD.c

Mon, 24 Oct 2005 21:48:21 +0000

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 24 Oct 2005 21:48:21 +0000
changeset 11801
c19b37ac661b
parent 11105
842fa517e08c
permissions
-rw-r--r--

[gaim-migrate @ 14092]
Cleanups, mostly // -> /* */ and moved g_print's to gaim_debug_info, and a few c99ism fixes..

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZSetFD function.
 *
 *	Created by:	Robert French
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */

#include "internal.h"

Code_t ZSetFD(fd)
	int	fd;
{
	(void) ZClosePort();

	__Zephyr_fd = fd;
	__Zephyr_open = 0;
	
	return (ZERR_NONE);
}

mercurial