]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/lib_data.c
ncurses 5.0
[ncurses.git] / ncurses / tinfo / lib_data.c
similarity index 94%
rename from ncurses/lib_data.c
rename to ncurses/tinfo/lib_data.c
index baa1db8194a72dd58cba7b42b84382491fcfcf95..d2d0d3ff6d8ec3bcfe5638e57a765e044e73f76a 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+ * Copyright (c) 1998,1999 Free Software Foundation, Inc.                   *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -40,7 +40,7 @@
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_data.c,v 1.13 1998/02/11 12:14:00 tom Exp $")
+MODULE_ID("$Id: lib_data.c,v 1.14 1999/01/31 01:34:33 Ilya.Zakharevich Exp $")
 
 /*
  * OS/2's native linker complains if we don't initialize public data when
@@ -80,5 +80,5 @@ void _nc_set_screen(SCREEN *sp)
        my_screen = sp;
 }
 #else
-SCREEN *SP;
+SCREEN *SP = NULL;             /* Some linkers require initialized data... */
 #endif