X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Falloc.c;h=916a42e4a2036f92d4f0b224968fd5b32108f36a;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=2cd82d6a6ea50b99d00862f108196b8ac2c9eaaa;hpb=480a0746507ce73d26f528b56dc3ed80195096e0;p=pspp diff --git a/src/libpspp/alloc.c b/src/libpspp/alloc.c index 2cd82d6a6e..916a42e4a2 100644 --- a/src/libpspp/alloc.c +++ b/src/libpspp/alloc.c @@ -25,7 +25,7 @@ Returns a null pointer if the memory cannot be obtained, including the case where N * S overflows the range of size_t. */ void * -nmalloc (size_t n, size_t s) +nmalloc (size_t n, size_t s) { return !xalloc_oversized (n, s) ? malloc (n * s) : NULL; }