ack/modules/src/em_mes/C_ms_src.c
carl 7c7379c46f Better ANSI C compatibility and portability - part 1:
+ Addition of function prototypes.
+ Change function definitions to ANSI C style.
+ Convert to sed scripts some shell scripts for better portability.
+ Reduce usage of em_path.h (TMPDIR is no longer hard coded)
2019-02-19 00:54:23 +08:00

18 lines
403 B
C

/* $Id$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#include <stdlib.h>
#include <string.h>
#include "em.h"
#include "em_mes.h"
void C_ms_src(int nlines, char* filnam)
{
C_mes_begin(ms_src);
C_cst((arith)nlines);
C_scon(filnam, (arith)(strlen(filnam) + 1));
C_mes_end();
}