summaryrefslogtreecommitdiff
path: root/comms/nec2c/files/patch-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/nec2c/files/patch-misc.c')
-rw-r--r--comms/nec2c/files/patch-misc.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/comms/nec2c/files/patch-misc.c b/comms/nec2c/files/patch-misc.c
deleted file mode 100644
index 84a7ede4831d..000000000000
--- a/comms/nec2c/files/patch-misc.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- misc.c.orig 2004-01-24 14:18:43 UTC
-+++ misc.c
-@@ -113,6 +113,7 @@ int stop( int flag )
- fclose( plot_fp );
-
- exit( flag );
-+ return(flag);
- }
-
- /*------------------------------------------------------------------*/
-@@ -192,7 +193,7 @@ int load_line( char *buff, FILE *pfile )
-
- /*** Memory allocation/freeing utils ***/
-
--void mem_alloc( void **ptr, int req )
-+void mem_alloc( void **ptr, size_t req )
- {
- free_ptr( ptr );
- *ptr = malloc( req );
-@@ -203,7 +204,7 @@ void mem_alloc( void **ptr, int req )
-
- /*------------------------------------------------------------------------*/
-
--void mem_realloc( void **ptr, int req )
-+void mem_realloc( void **ptr, size_t req )
- {
- *ptr = realloc( *ptr, req );
- if( *ptr == NULL )