mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.12.1.11
This commit is contained in:
13
version.c
13
version.c
@@ -19,8 +19,8 @@
|
||||
* received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* @(#) $Revision: 29.77 $
|
||||
* @(#) $Id: version.c,v 29.77 2007/02/08 21:22:43 chongo Exp $
|
||||
* @(#) $Revision: 29.80 $
|
||||
* @(#) $Id: version.c,v 29.80 2007/02/11 10:28:20 chongo Exp $
|
||||
* @(#) $Source: /usr/local/src/cmd/calc/RCS/version.c,v $
|
||||
*
|
||||
* Under source code control: 1990/05/22 11:00:58
|
||||
@@ -36,8 +36,9 @@
|
||||
#include <string.h>
|
||||
|
||||
#if defined(CALC_VER)
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
# include <unistd.h>
|
||||
# define STATIC static
|
||||
static char *program;
|
||||
#else
|
||||
# include "calc.h"
|
||||
@@ -48,7 +49,7 @@ static char *program;
|
||||
#define MAJOR_VER 2 /* major version */
|
||||
#define MINOR_VER 12 /* minor version */
|
||||
#define MAJOR_PATCH 1 /* patch level or 0 if no patch */
|
||||
#define MINOR_PATCH 10 /* test number or 0 if no minor patch */
|
||||
#define MINOR_PATCH 11 /* test number or 0 if no minor patch */
|
||||
|
||||
|
||||
/*
|
||||
@@ -63,7 +64,7 @@ int calc_minor_patch = MINOR_PATCH;
|
||||
/*
|
||||
* stored version
|
||||
*/
|
||||
static char *stored_version = NULL; /* version formed if != NULL */
|
||||
STATIC char *stored_version = NULL; /* version formed if != NULL */
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user