OSSP CVS Repository

ossp - Check-in [376]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 376
Date: 2001-Jan-29 21:31:50 (local)
2001-Jan-29 20:31:50 (UTC)
User:rse
Branch:
Comment: *** empty log message ***
Tickets:
Inspections:
Files:
ossp-pkg/mm/ChangeLog      1.25 -> 1.26     4 inserted, 0 deleted
ossp-pkg/mm/mm.h      1.21 -> 1.22     31 inserted, 31 deleted

ossp-pkg/mm/ChangeLog 1.25 -> 1.26

--- ChangeLog    2001/01/29 20:27:22     1.25
+++ ChangeLog    2001/01/29 20:31:50     1.26
@@ -16,6 +16,10 @@
 
  Changes between 1.1.3 and 1.1.4 (01-Jul-2000 to xx-Jan-2001)
 
+  *) Removed variables from ANSI C function prototypes in mm.h
+     to avoid any potential conflicts in advance.
+     [Ralf S. Engelschall]
+
   *) Adjusted year in copyright messages for 2001.
      [Ralf S. Engelschall]
 


ossp-pkg/mm/mm.h 1.21 -> 1.22

--- mm.h 2001/01/29 20:27:22     1.21
+++ mm.h 2001/01/29 20:31:50     1.22
@@ -323,51 +323,51 @@
 #endif
 
 /* Global Malloc-Replacement API */
-int     MM_create(size_t size, const char *file);
-int     MM_permission(mode_t mode, uid_t owner, gid_t group);
+int     MM_create(size_t, const char *);
+int     MM_permission(mode_t, uid_t, gid_t);
 void    MM_destroy(void);
-int     MM_lock(mm_lock_mode mode);
+int     MM_lock(mm_lock_mode);
 int     MM_unlock(void);
-void   *MM_malloc(size_t size);
-void   *MM_realloc(void *ptr, size_t size);
-void    MM_free(void *ptr);
-void   *MM_calloc(size_t number, size_t size);
-char   *MM_strdup(const char *str);
-size_t  MM_sizeof(const void *ptr);
+void   *MM_malloc(size_t);
+void   *MM_realloc(void *, size_t);
+void    MM_free(void *);
+void   *MM_calloc(size_t, size_t);
+char   *MM_strdup(const char *);
+size_t  MM_sizeof(const void *);
 size_t  MM_maxsize(void);
 size_t  MM_available(void);
 char   *MM_error(void);
 
 /* Standard Malloc-Style API */
-MM     *mm_create(size_t size, const char *file);
-int     mm_permission(MM *mm, mode_t mode, uid_t owner, gid_t group);
-void    mm_destroy(MM *mm);
-int     mm_lock(MM *mm, mm_lock_mode mode);
-int     mm_unlock(MM *mm);
-void   *mm_malloc(MM *mm, size_t size);
-void   *mm_realloc(MM *mm, void *ptr, size_t size);
-void    mm_free(MM *mm, void *ptr);
-void   *mm_calloc(MM *mm, size_t number, size_t size);
-char   *mm_strdup(MM *mm, const char *str);
-size_t  mm_sizeof(MM *mm, const void *ptr);
+MM     *mm_create(size_t, const char *);
+int     mm_permission(MM *, mode_t, uid_t, gid_t);
+void    mm_destroy(MM *);
+int     mm_lock(MM *, mm_lock_mode);
+int     mm_unlock(MM *);
+void   *mm_malloc(MM *, size_t);
+void   *mm_realloc(MM *, void *, size_t);
+void    mm_free(MM *, void *);
+void   *mm_calloc(MM *, size_t, size_t);
+char   *mm_strdup(MM *, const char *);
+size_t  mm_sizeof(MM *, const void *);
 size_t  mm_maxsize(void);
-size_t  mm_available(MM *mm);
+size_t  mm_available(MM *);
 char   *mm_error(void);
-void    mm_display_info(MM *mm);
+void    mm_display_info(MM *);
 
 /* Low-Level Shared Memory API */
-void   *mm_core_create(size_t size, const char *file);
-int     mm_core_permission(void *core, mode_t mode, uid_t owner, gid_t group);
-void    mm_core_delete(void *core);
-size_t  mm_core_size(const void *core);
-int     mm_core_lock(const void *core, mm_lock_mode mode);
-int     mm_core_unlock(const void *core);
+void   *mm_core_create(size_t, const char *);
+int     mm_core_permission(void *, mode_t, uid_t, gid_t);
+void    mm_core_delete(void *);
+size_t  mm_core_size(const void *);
+int     mm_core_lock(const void *, mm_lock_mode);
+int     mm_core_unlock(const void *);
 size_t  mm_core_maxsegsize(void);
-size_t  mm_core_align2page(size_t size);
-size_t  mm_core_align2word(size_t size);
+size_t  mm_core_align2page(size_t);
+size_t  mm_core_align2word(size_t);
 
 /* Internal Library API */
-void    mm_lib_error_set(unsigned int, const char *str);
+void    mm_lib_error_set(unsigned int, const char *);
 char   *mm_lib_error_get(void);
 int     mm_lib_version(void);
 

CVSTrac 2.0.1