[BACK]Return to version.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/Attic/version.c between version 1.1 and 1.2

version 1.1, 1997/08/14 14:00:28 version 1.2, 1997/08/22 07:16:32
Line 11 
Line 11 
  *  Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University   *  Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
  */   */
   
   #include <sys/types.h>
   #include <stdio.h>
   
 #include "top.h"  #include "top.h"
 #include "patchlevel.h"  #include "patchlevel.h"
   
 static char version[16];  
   
 char *version_string()  char *version_string()
   
 {  {
       static char version[16];
   
     snprintf(version, sizeof(version), "%d.%d", VERSION, PATCHLEVEL);      snprintf(version, sizeof(version), "%d.%d", VERSION, PATCHLEVEL);
 #ifdef BETA  #ifdef BETA
     strcat(version, BETA);      strcat(version, BETA);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2