Skip to content

Commit

Permalink
Add missing headers to fix compile warnings.
Browse files Browse the repository at this point in the history
2007-05-04  Carlos Garcia Campos  <carlosgc@gsyc.escet.urjc.es>
	* configure.ac:
	* kdsi/kdsi.c:
	* utils/stripcom.c:
	* utils/stripstr.c:
	* utils/argfiles.c:
	Add missing headers to fix compile warnings.
  • Loading branch information
Carlos Garcia Campos authored and Carlos Garcia Campos committed May 4, 2007
1 parent 057af4b commit de5e5ba
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
@@ -1,3 +1,13 @@
2007-05-04 Carlos Garcia Campos <carlosgc@gsyc.escet.urjc.es>

* configure.ac:
* kdsi/kdsi.c:
* utils/stripcom.c:
* utils/stripstr.c:
* utils/argfiles.c:

Add missing headers to fix compile warnings.

2007-05-04 Carlos Garcia Campos <carlosgc@gsyc.escet.urjc.es>

* mkinstalldirs:
Expand Down
15 changes: 13 additions & 2 deletions configure.ac
@@ -1,7 +1,18 @@
AC_INIT([cmetrics],[0.1], [libresoft-tools-devel@lists.morfeo-project.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([1.9])

AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_AWK
AM_PROG_LEX
AC_CONFIG_FILES([Makefile mccabe/Makefile halstead/Makefile kdsi/Makefile utils/Makefile])

AC_CONFIG_FILES([
Makefile
mccabe/Makefile
halstead/Makefile
kdsi/Makefile
utils/Makefile
])

AC_OUTPUT
1 change: 1 addition & 0 deletions kdsi/kdsi.c
Expand Up @@ -19,6 +19,7 @@
***************************************************************************/

#include <stdio.h>
#include <stdlib.h>

typedef int Token;
#define STOP_INPUT 0
Expand Down
2 changes: 2 additions & 0 deletions utils/argfiles.c
@@ -1,6 +1,8 @@
/* strip comments from c program */
/* read from stdin, write to stdout */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "argfiles.h"

FILE *nextfp();
Expand Down
2 changes: 2 additions & 0 deletions utils/stripcom.c
@@ -1,6 +1,8 @@
/* strip comments from c program */
/* read from stdin, write to stdout */
#include <stdio.h>
#include <stdlib.h>

#include "bdr.h"
#include "argfiles.h"

Expand Down
1 change: 1 addition & 0 deletions utils/stripstr.c
Expand Up @@ -2,6 +2,7 @@
* between (and including) two quotes (")
*/
#include <stdio.h>
#include <stdlib.h>


typedef char Bool;
Expand Down

0 comments on commit de5e5ba

Please sign in to comment.