From bce21a9a97176692eaa190b315d8b636c592279c Mon Sep 17 00:00:00 2001 From: yctct Date: Thu, 29 Jan 2026 19:12:37 +0100 Subject: Add license notice to each source file --- ft_checkpadd.c | 17 +++++++++++++++++ ft_printf.c | 18 ++++++++++++++++++ ft_putchar.c | 18 ++++++++++++++++++ ft_puthexlower.c | 18 ++++++++++++++++++ ft_puthexupper.c | 18 ++++++++++++++++++ ft_putnbr.c | 18 ++++++++++++++++++ ft_putstr.c | 18 ++++++++++++++++++ ft_putunsigned.c | 18 ++++++++++++++++++ 8 files changed, 143 insertions(+) diff --git a/ft_checkpadd.c b/ft_checkpadd.c index a1881d1..b395620 100644 --- a/ft_checkpadd.c +++ b/ft_checkpadd.c @@ -1,3 +1,20 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ #include "ft_printf.h" diff --git a/ft_printf.c b/ft_printf.c index 1058f5b..87655c5 100644 --- a/ft_printf.c +++ b/ft_printf.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + // for specifier 'c', we use int because char will be promoted to // int anyway diff --git a/ft_putchar.c b/ft_putchar.c index 4ff8dda..0db58e9 100644 --- a/ft_putchar.c +++ b/ft_putchar.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include "ft_printf.h" diff --git a/ft_puthexlower.c b/ft_puthexlower.c index 282328a..092f2a0 100644 --- a/ft_puthexlower.c +++ b/ft_puthexlower.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + // parameter is unsigned long so function does not // overflow when LONG_MAX is the address diff --git a/ft_puthexupper.c b/ft_puthexupper.c index b5518bf..94b4087 100644 --- a/ft_puthexupper.c +++ b/ft_puthexupper.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + // using unsigned int as a paramter to deal with with negative numbers #include "ft_printf.h" diff --git a/ft_putnbr.c b/ft_putnbr.c index fe138ff..6cb06e0 100644 --- a/ft_putnbr.c +++ b/ft_putnbr.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include "ft_printf.h" diff --git a/ft_putstr.c b/ft_putstr.c index 19a2c37..44f3343 100644 --- a/ft_putstr.c +++ b/ft_putstr.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + // we use putchar to count each character diff --git a/ft_putunsigned.c b/ft_putunsigned.c index 8908de0..255525d 100644 --- a/ft_putunsigned.c +++ b/ft_putunsigned.c @@ -1,3 +1,21 @@ +/* +ft_printf +Copyright (C) 2026 yctct + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include "ft_printf.h" -- cgit v1.2.3