Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Jul 20, 2021
1 parent 20b7195 commit 509d141
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# "Makefile" for graftcp.
# Copyright (C) 2016, 2018, 2020 Hmgle <[email protected]>
# Copyright (C) 2016, 2018, 2020, 2021 Hmgle <[email protected]>
#
# 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
Expand Down Expand Up @@ -36,7 +36,7 @@ else
endif

ifneq ($(shell echo $(VERSION) | head -c 1), v)
VERSION=v0.3
VERSION=v0.4
endif
CFLAGS += -DVERSION=\"$(VERSION)\"

Expand Down
2 changes: 1 addition & 1 deletion graftcp.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* graftcp
* Copyright (C) 2016, 2018-2020 Hmgle <[email protected]>
* Copyright (C) 2016, 2018-2021 Hmgle <[email protected]>
*
* 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
Expand Down
14 changes: 14 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* graftcp
* Copyright (C) 2016, 2018-2021 Hmgle <[email protected]>
*
* 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.
*/
int client_main(int argc, char **argv);

int main(int argc, char **argv)
Expand Down

0 comments on commit 509d141

Please sign in to comment.