1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Allow /contrib include files to compile on their own.

This commit is contained in:
Bruce Momjian
2006-07-10 22:06:11 +00:00
parent f0cd764723
commit c5133e5920
10 changed files with 24 additions and 11 deletions

View File

@ -1,6 +1,8 @@
#ifndef USER_LOCKS_H
#define USER_LOCKS_H
#include "storage/lock.h"
extern int user_lock(uint32 id1, uint32 id2, LOCKMODE lockmode);
extern int user_unlock(uint32 id1, uint32 id2, LOCKMODE lockmode);
extern int user_write_lock(uint32 id1, uint32 id2);