[srm-cvs] CVS Update: - fixed void problem

From: <kalowsky[@]php.net>
Date: Sat Feb 23 2002 - 19:58:23 CET

Date: Sat Feb 23 19:58:23 CET 2002
User: Dan Kalowsky
Directory: srm/main/src

Log Message:
 [0.11]
 - fixed void problem
 
 
Modified files:
           srm/main/src/srm_modules.h (version: 1.29)

[FILE: /srm/main/src/srm_modules.h]

--- srm/main/src/srm_modules.h:1.28 Sat Feb 23 17:50:47 2002 GMT
+++ srm/main/src/srm_modules.h Sat Feb 23 17:58:23 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.28 2002/02/23 18:50:47 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.29 2002/02/23 18:58:23 kalowsky Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -32,7 +32,7 @@
 # include <dlfcn.h>
 #endif
 
-#if defined(SRM_MACOSX) /* NeXT/Apple dynamic linker */
+#if SRM_MACOSX /* NeXT/Apple dynamic linker */
 #include <mach-o/dyld.h>
 #endif
 
@@ -110,7 +110,7 @@
                         SRM_API_VERSION \
                 }
 
-#if defined(HAVE_LIBDL)
+#if HAVE_LIBDL
 
 # ifndef RTLD_LAZY
 # define RTLD_LAZY 1 /* Solaris 1, FreeBSD's (2.1.7.1 and older) */
@@ -122,7 +122,7 @@
 
 # define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
 # define DL_UNLOAD dlclose
-# define DL_ERROR dlerror(void)
+# define DL_ERROR dlerror
 
 # if defined(DLSYM_NEEDS_UNDERSCORE)
 # define DL_FETCH_SYM(h,s) dlsym((h), "_" ## s)
@@ -132,7 +132,8 @@
 
 # define SRM_DLMODULES_SUPPORT 1
 
-#if defined(DEBUG_DAN) /* commenting out this section temporarily */
+/* commenting out this section temporarily */
+#if defined(DEBUG_DAN)
 #endif /* HAVE_LIBDL */
 
 #if defined(SRM_MACOSX) /* start SRM_MACOSX should really be HAVE_DYLD*/
Received on Sat Feb 23 19:58:37 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 11:00:06 CET