Add license info to headers

This commit is contained in:
Aoran Zeng 2023-09-05 20:56:24 +08:00
parent 29c7dc6e31
commit 615e9a6a7a
5 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,11 @@
# ---------------------------------------------------------------
# File : Makefile
# License : GPLv3
# Authors : Aoran Zeng <ccmywish@qq.com>
# Created on : <2023-08-28>
# Last modified : <2023-09-05>
# ---------------------------------------------------------------
CFLAGS =
TARGET = chsrc

View File

@ -1,5 +1,6 @@
/* --------------------------------------------------------------
* File : chsrc.c
* License : GPLv3
* Authors : Aoran Zeng <ccmywish@qq.com>
* Created on : <2023-08-28>
* Last modified : <2023-09-05>
@ -7,6 +8,8 @@
* chsrc:
*
* Change Source
*
* GPLv3 LICENSE.txt
* -------------------------------------------------------------*/
#include "chsrc.h"

View File

@ -1,5 +1,6 @@
/* --------------------------------------------------------------
* File : chsrc.h
* License : GPLv3
* Authors : Aoran Zeng <ccmywish@qq.com>
* Created on : <2023-08-29>
* Last modified : <2023-09-05>

View File

@ -1,5 +1,6 @@
/* --------------------------------------------------------------
* File : test_xy.c
* License : MIT
* Authors : Aoran Zeng <ccmywish@qq.com>
* Created on : <2023-08-30>
* Last modified : <2023-09-05>

7
xy.h
View File

@ -1,14 +1,17 @@
/* --------------------------------------------------------------
* File : xy.h
* License : MIT
* Authors : Aoran Zeng <ccmywish@qq.com>
* Created on : <2023-08-28>
* Last modified : <2023-09-05>
*
* xy:
*
* y = f(x)
* Xiangyang () or Xianyang ()
*
* Corss-Platform C utilities in Ruby flavor
*
* MIT 使 LICENSE.txt
* -------------------------------------------------------------*/
#ifndef XY_H
@ -444,7 +447,7 @@ xy_str_strip (const char* str)
* cmd后拿到cmd的执行结果 free掉这段内存
*
*/
char *
char *
xy_getcmd(const char * cmd)
{
const int BUFSIZE = 1024;