Skip to content

Commit

Permalink
src: Fixup rcsid headers
Browse files Browse the repository at this point in the history
Spacing and also mark unused to avoid warning

Signed-off-by: Sylvain Munaut <[email protected]>
  • Loading branch information
smunaut committed Jan 13, 2021
1 parent 5374c7f commit 768426c
Show file tree
Hide file tree
Showing 62 changed files with 94 additions and 92 deletions.
4 changes: 3 additions & 1 deletion src/am_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
//
//-----------------------------------------------------------------------------

static const char rcsid[] = "$Id: am_map.c,v 1.4 1997/02/03 21:24:33 b1 Exp $";
static const char __attribute__((unused))
rcsid[] = "$Id: am_map.c,v 1.4 1997/02/03 21:24:33 b1 Exp $";


#include <stdio.h>

Expand Down
3 changes: 2 additions & 1 deletion src/d_items.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id:$";


// We are referring to sprite numbers.
#include "info.h"

Expand Down
3 changes: 2 additions & 1 deletion src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
//
//-----------------------------------------------------------------------------

static const char __attribute__((unused))
rcsid[] = "$Id: d_main.c,v 1.8 1997/02/03 22:45:09 b1 Exp $";

static const char rcsid[] = "$Id: d_main.c,v 1.8 1997/02/03 22:45:09 b1 Exp $";

#define BGCOLOR 7
#define FGCOLOR 8
Expand Down
4 changes: 2 additions & 2 deletions src/d_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
//
//-----------------------------------------------------------------------------


static const char rcsid[] = "$Id: d_net.c,v 1.3 1997/02/03 22:01:47 b1 Exp $";
static const char __attribute__((unused))
rcsid[] = "$Id: d_net.c,v 1.3 1997/02/03 22:01:47 b1 Exp $";


#include "m_menu.h"
Expand Down
2 changes: 1 addition & 1 deletion src/doomdef.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/doomstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/dstrings.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
4 changes: 2 additions & 2 deletions src/f_finale.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
//
//-----------------------------------------------------------------------------


static const char
static const char __attribute__((unused))
rcsid[] = "$Id: f_finale.c,v 1.5 1997/02/03 21:26:34 b1 Exp $";


#include <ctype.h>

// Functions.
Expand Down
5 changes: 2 additions & 3 deletions src/f_wipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
//
//-----------------------------------------------------------------------------


static const char rcsid[] = "$Id: f_wipe.c,v 1.2 1997/02/03 22:45:09 b1 Exp $";

static const char __attribute__((unused))
rcsid[] = "$Id: f_wipe.c,v 1.2 1997/02/03 22:45:09 b1 Exp $";


#include "z_zone.h"
Expand Down
4 changes: 2 additions & 2 deletions src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
//
//-----------------------------------------------------------------------------


static const char
static const char __attribute__((unused))
rcsid[] = "$Id: g_game.c,v 1.8 1997/02/03 22:45:09 b1 Exp $";


#include <string.h>
#include <stdlib.h>

Expand Down
3 changes: 2 additions & 1 deletion src/hu_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: hu_lib.c,v 1.3 1997/01/26 07:44:58 b1 Exp $";


#include <ctype.h>

#include "doomdef.h"
Expand Down
3 changes: 2 additions & 1 deletion src/hu_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: hu_stuff.c,v 1.4 1997/02/03 16:47:52 b1 Exp $";


#include <ctype.h>

#include "doomdef.h"
Expand Down
3 changes: 1 addition & 2 deletions src/i_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: i_main.c,v 1.4 1997/02/03 22:45:10 b1 Exp $";



#include "doomdef.h"

#include "m_argv.h"
Expand Down
3 changes: 2 additions & 1 deletion src/i_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Expand Down
3 changes: 2 additions & 1 deletion src/i_sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: i_unix.c,v 1.5 1997/02/03 22:45:10 b1 Exp $";


#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
Expand Down
2 changes: 1 addition & 1 deletion src/i_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
3 changes: 2 additions & 1 deletion src/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: i_x.c,v 1.6 1997/02/03 22:45:10 b1 Exp $";


#include <stdlib.h>
#include <unistd.h>
#include <sys/ipc.h>
Expand Down
3 changes: 2 additions & 1 deletion src/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: info.c,v 1.3 1997/01/26 07:45:00 b1 Exp $";


// Data.
#include "sounds.h"
#include "m_fixed.h"
Expand Down
2 changes: 1 addition & 1 deletion src/m_argv.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_argv.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/m_bbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
4 changes: 2 additions & 2 deletions src/m_cheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
//
//-----------------------------------------------------------------------------


static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_cheat.c,v 1.1 1997/02/03 21:24:34 b1 Exp $";


#include "m_cheat.h"

//
Expand Down
4 changes: 2 additions & 2 deletions src/m_fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
//
//-----------------------------------------------------------------------------


static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


#include "stdlib.h"

#include "doomtype.h"
Expand Down
3 changes: 2 additions & 1 deletion src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_menu.c,v 1.7 1997/02/03 22:45:10 b1 Exp $";


#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
Expand Down
3 changes: 2 additions & 1 deletion src/m_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_misc.c,v 1.6 1997/02/03 22:45:10 b1 Exp $";


#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
Expand Down
3 changes: 2 additions & 1 deletion src/m_random.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
//
//-----------------------------------------------------------------------------

static const char rcsid[] = "$Id: m_random.c,v 1.1 1997/02/03 22:45:11 b1 Exp $";
static const char __attribute__((unused))
rcsid[] = "$Id: m_random.c,v 1.1 1997/02/03 22:45:11 b1 Exp $";


//
Expand Down
2 changes: 1 addition & 1 deletion src/m_swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/p_ceilng.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_ceilng.c,v 1.4 1997/02/03 16:47:53 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/p_doors.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_doors.c,v 1.4 1997/02/03 16:47:53 b1 Exp $";


Expand Down
3 changes: 2 additions & 1 deletion src/p_enemy.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_enemy.c,v 1.5 1997/02/03 22:45:11 b1 Exp $";


#include <stdlib.h>

#include "m_random.h"
Expand Down
2 changes: 1 addition & 1 deletion src/p_floor.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_floor.c,v 1.4 1997/02/03 16:47:54 b1 Exp $";


Expand Down
3 changes: 1 addition & 2 deletions src/p_inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
//
//-----------------------------------------------------------------------------


static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_inter.c,v 1.4 1997/02/03 22:45:11 b1 Exp $";


Expand Down
2 changes: 1 addition & 1 deletion src/p_lights.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_lights.c,v 1.5 1997/02/03 22:45:11 b1 Exp $";


Expand Down
3 changes: 2 additions & 1 deletion src/p_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_map.c,v 1.5 1997/02/03 22:45:11 b1 Exp $";


#include <stdlib.h>

#include "m_bbox.h"
Expand Down
2 changes: 1 addition & 1 deletion src/p_maputl.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_maputl.c,v 1.5 1997/02/03 22:45:11 b1 Exp $";


Expand Down
3 changes: 2 additions & 1 deletion src/p_mobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_mobj.c,v 1.5 1997/02/03 22:45:12 b1 Exp $";


#include "i_system.h"
#include "z_zone.h"
#include "m_random.h"
Expand Down
2 changes: 1 addition & 1 deletion src/p_plats.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
//-----------------------------------------------------------------------------

static const char
static const char __attribute__((unused))
rcsid[] = "$Id: p_plats.c,v 1.5 1997/02/03 22:45:12 b1 Exp $";


Expand Down
Loading

0 comments on commit 768426c

Please sign in to comment.