Print this page
5910 libnisdb won't build with modern GCC
*** 18,33 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* DESCRIPTION: Contains utilities relating to TTL calculation.
*/
#include <unistd.h>
#include <syslog.h>
--- 18,32 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2015 Gary Mills
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* DESCRIPTION: Contains utilities relating to TTL calculation.
*/
#include <unistd.h>
#include <syslog.h>
*** 283,293 ****
*
*/
suc_code
add_to_timeval(struct timeval *t1, int t2)
{
- long usec;
struct timeval oldval;
oldval.tv_sec = t1->tv_sec;
/* Add seconds part */
--- 282,291 ----