sh.h can provide its rcsid itself, no need for that ugly hack

This commit is contained in:
tg 2008-04-22 18:57:26 +00:00
parent e57f5fc09b
commit a3dab099d9
2 changed files with 6 additions and 5 deletions

3
misc.c
View File

@ -6,8 +6,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.75 2008/04/19 22:15:03 tg Exp $\t"
MKSH_SH_H_ID);
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.76 2008/04/22 18:57:26 tg Exp $");
#undef USE_CHVT
#if defined(TIOCSCTTY) && !defined(MKSH_SMALL)

8
sh.h
View File

@ -8,9 +8,6 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.210 2008/04/20 01:41:57 tg Exp $"
#define MKSH_VERSION "R33 2008/04/20"
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
@ -98,6 +95,11 @@
#define __RCSID(x) __IDSTRING(rcsid,x)
#define __SCCSID(x) __IDSTRING(sccsid,x)
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.211 2008/04/22 18:57:25 tg Exp $");
#endif
#define MKSH_VERSION "R33 2008/04/20"
#ifndef MKSH_INCLUDES_ONLY
/* extra types */