[rtems commit] calloc.c: Remove use of register keyword

Joel Sherrill joel at rtems.org
Mon Feb 3 23:38:16 UTC 2014


Module:    rtems
Branch:    master
Commit:    cfbeaf6da0fb528e5eddee5e09cee036db172610
Changeset: http://git.rtems.org/rtems/commit/?id=cfbeaf6da0fb528e5eddee5e09cee036db172610

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Jan 31 12:28:02 2014 -0600

calloc.c: Remove use of register keyword

---

 cpukit/libcsupport/src/calloc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/libcsupport/src/calloc.c b/cpukit/libcsupport/src/calloc.c
index 636fc3c..8277fbb 100644
--- a/cpukit/libcsupport/src/calloc.c
+++ b/cpukit/libcsupport/src/calloc.c
@@ -6,7 +6,7 @@
  */
 
 /*
- *  COPYRIGHT (c) 1989-2007.
+ *  COPYRIGHT (c) 1989-2014.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -28,8 +28,8 @@ void *calloc(
   size_t elsize
 )
 {
-  register char *cptr;
-  size_t length;
+  char   *cptr;
+  size_t  length;
 
   MSBUMP(calloc_calls, 1);
 




More information about the vc mailing list