X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Falloc.c;h=1aaba30579d4bae63477671a2943c9ed923a9366;hb=06f9ee45954e5e71fa7f6262dbf37defa1dbf996;hp=0da8f74490fc6082b6e38755e97c30f4bd4bb128;hpb=92bfefccd465052e492f669ce561aa25b0110283;p=pspp-builds.git diff --git a/src/alloc.c b/src/alloc.c index 0da8f744..1aaba305 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -23,8 +23,6 @@ #include #include #include "str.h" - -static void out_of_memory (void); /* Public functions. */ @@ -106,11 +104,9 @@ xstrdup (const char *s) memcpy (t, s, size); return t; } - -/* Private functions. */ /* Report an out-of-memory condition and abort execution. */ -static void +void out_of_memory (void) { fprintf (stderr, "virtual memory exhausted\n");