mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/************************************************************************
|
||||
* libc/string//lib_strdup.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -58,5 +58,6 @@ FAR char *strdup(const char *s)
|
||||
strcpy(news, s);
|
||||
}
|
||||
}
|
||||
|
||||
return news;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user