IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4677


Ignore:
Timestamp:
Jul 29, 2005, 4:45:31 PM (21 years ago)
Author:
jhoblitt
Message:

tidy
update copyright notice

Location:
trunk/Nebulous/nebclient/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/xmalloc.c

    r4505 r4677  
    22 * xmalloc.c - malloc that can't fail
    33 *
    4  * Copyright (C) 2003  Robert Lupton
     4 * Copyright (C) 2003-2005  Joshua Hoblitt, 2003  Robert Lupton
    55 *
    6  * $Id: xmalloc.c,v 1.2 2005-07-07 22:03:16 jhoblitt Exp $
     6 * $Id: xmalloc.c,v 1.3 2005-07-30 02:45:31 jhoblitt Exp $
    77 */
    88
     
    1515 * Wrappers for malloc/free.  xmalloc cannot fail.
    1616 */
    17 void *
    18 xmalloc(size_t n)
     17void * xmalloc(size_t n)
    1918{
    2019   void *ptr = malloc(n);
     
    2827}
    2928
    30 void *
    31 xrealloc(void *ptr, size_t size)
     29void * xrealloc(void *ptr, size_t size)
    3230{
    3331    void *newptr = realloc(ptr, size);
     
    4139}
    4240 
    43 void
    44 xfree(void *ptr)
     41void xfree(void *ptr)
    4542{
    4643   free(ptr);
  • trunk/Nebulous/nebclient/src/xmalloc.h

    r4505 r4677  
    22 * xmalloc.h - malloc that can't fail
    33 *
    4  * Copyright (C) 2003  Robert Lupton
     4 * Copyright (C) 2003-2005  Joshua Hoblitt, 2003  Robert Lupton
    55 *
    6  * $Id: xmalloc.h,v 1.3 2005-07-07 22:03:16 jhoblitt Exp $
     6 * $Id: xmalloc.h,v 1.4 2005-07-30 02:45:31 jhoblitt Exp $
    77 */
    88
     
    1010#define XMALLOC_H 1
    1111
    12 void *
    13 xmalloc(size_t n);
     12void * xmalloc(size_t n);
    1413
    15 void *
    16 xrealloc(void *ptr, size_t size);
     14void * xrealloc(void *ptr, size_t size);
    1715 
    18 void
    19 xfree(void *ptr);
     16void xfree(void *ptr);
    2017
    2118#endif // XMALLOC_H
Note: See TracChangeset for help on using the changeset viewer.