include string.h in strcpy.c to fix implicit declaration warnings

This commit is contained in:
Sateallia 2023-12-30 02:26:48 +03:00
parent 9dc6b70f19
commit 2905cd97f0

View File

@ -15,6 +15,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <string.h>
char *strcpy(char *restrict dest, const char *src) {
stpcpy(dest, src);