[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (5073f41e743fe69e23806d409b23ee7293642bb7)



The branch, master has been updated
       via  5073f41e743fe69e23806d409b23ee7293642bb7 (commit)
      from  8dbe3eb93d3281d4f0e496f68d4ba7f20e78b43b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/edif.y |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)


=================
 Commit Messages
=================

commit 5073f41e743fe69e23806d409b23ee7293642bb7
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Use the appropriate header files instead of providing extern foo() prototypes.
    
    Use the correct headers for a handful of function prototypes.  This should
    fix some build issues reported on geda-uers.

:100644 100644 f1cb346... 1bad8ff... M	src/edif.y

=========
 Changes
=========

commit 5073f41e743fe69e23806d409b23ee7293642bb7
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Use the appropriate header files instead of providing extern foo() prototypes.
    
    Use the correct headers for a handful of function prototypes.  This should
    fix some build issues reported on geda-uers.

diff --git a/src/edif.y b/src/edif.y
index f1cb346..1bad8ff 100644
--- a/src/edif.y
+++ b/src/edif.y
@@ -17,6 +17,13 @@
  *									*
  ************************************************************************/
 #include <stdio.h>
+
+/* for malloc, free, atoi */
+#include <stdlib.h>
+
+/* for strcpy */
+#include <string.h>
+
 #include <ctype.h>
 
 #include "global.h"
@@ -34,14 +41,6 @@ LibraryEntryTypePtr GetLibraryEntryMemory (LibraryMenuTypePtr);
 #define	ABS(v)			((v) < 0 ? -(v) : (v))
 #define	Getc(s)			getc(s)
 #define	Ungetc(c)		ungetc(c,Input)
-/*
- *	External functions.
- */
-extern void *malloc();
-extern char *strcpy();
-extern int atoi();
-extern void free();
-
 
  typedef struct _str_pair
  {




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs