From bd52c816f95a6aec471f194b94c2e195cf7f9988 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 18 Dec 2010 20:29:22 +0200 Subject: Cleanup the mainline PC code, and pc/ directory. --- pc/dlfcn.h | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 pc/dlfcn.h (limited to 'pc/dlfcn.h') diff --git a/pc/dlfcn.h b/pc/dlfcn.h deleted file mode 100644 index bb7366bc..00000000 --- a/pc/dlfcn.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -** dlfcn.h -- limited implementation of posix dynamic loading functions -*/ - -/* - * Copyright (C) 2003 the Free Software Foundation, Inc. - * - * This file is part of GAWK, the GNU implementation of the - * AWK Programming Language. - * - * GAWK 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 3 of the License, or - * (at your option) any later version. - * - * GAWK 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#ifndef _DLFCN_H -#define _DLFCN_H - -/* symbols required by susv3. These are not supported here (everything is - * RTLD_NOW, RTLD_GLOBAL) */ -#define RTLD_LAZY 0 -#define RTLD_NOW 1 -#define RTLD_GLOBAL 0 -#define RTLD_LOCAL 2 - -int dlclose(void *); -char *dlerror(void); -void *dlopen(const char *, int); -void *dlsym(void * /*restrict*/, const char * /*restrict*/); - -#endif -- cgit v1.2.3