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 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* DESCRIPTION: Contains a front end to the map locking code. These are called
* when a map, or its map_ctrl structure, needs to be locked
* for a short time for internal modification. This lock should
* not be held between DBM operations.
--- 18,32 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2015 Gary Mills
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* DESCRIPTION: Contains a front end to the map locking code. These are called
* when a map, or its map_ctrl structure, needs to be locked
* for a short time for internal modification. This lock should
* not be held between DBM operations.
*** 43,52 ****
--- 42,52 ----
#include <thread.h>
#include <synch.h>
#include <ndbm.h>
#include "ypsym.h"
#include "shim.h"
+ #include "stubs.h"
/*
* FUNCTION : lock_map_ctrl()
*
* DESCRIPTION: Front end to the lock routine taking map_ctrl structure as