Skip to content

Commit

Permalink
Merge pull request #55 from /issues/54
Browse files Browse the repository at this point in the history
Update GetVersionString doxygen returns
  • Loading branch information
baskapteijn committed Apr 17, 2019
2 parents 4d1d619 + 6be531e commit 5c29e6b
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the numconvert distribution (https://github.com/baskapteijn/numconvert).
* Copyright (c) 2018 Bas Kapteijn.
* Copyright (c) 2019 Bas Kapteijn.
*
* 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
8 changes: 4 additions & 4 deletions src/version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the numconvert distribution (https://github.com/baskapteijn/numconvert).
* Copyright (c) 2018 Bas Kapteijn.
* Copyright (c) 2019 Bas Kapteijn.
*
* 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 All @@ -22,17 +22,17 @@

#define VERSION_MAJOR 1u
#define VERSION_MINOR 0u
#define VERSION_PATCH 4u
#define VERSION_PATCH 5u

#define VERSION_STRING_LEN 12 /* mjr.mnr.pat + \0 */
#define VERSION_STRING_LEN 12u /* mjr.mnr.pat + \0 */

/*!
* \brief Return the current version.
* \details
* Semantic versioning 2.0.0 as per <https://semver.org/>.
* Each part of the version number (major, minor, patch) shall be limited to a value no more
* than 255.
* \returns
* \returns A char pointer to the version string.
*/
static inline const char* GetVersionString(void)
{
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/12.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/13.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/26.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/27.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/28.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/29.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/3.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/30.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/31.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/32.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/33.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/34.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/35.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/36.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/37.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/4.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down
2 changes: 1 addition & 1 deletion test/functional/stdout/7.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.0.4
Version 1.0.5

Usage:
numconvert [prefix]<value>[postfix]
Expand Down

0 comments on commit 5c29e6b

Please sign in to comment.