~ubuntu-branches/ubuntu/raring/libxfont/raring-security

« back to all changes in this revision

Viewing changes to src/util/atom.c

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois, Cyril Brulebois, Julien Cristau
  • Date: 2012-03-04 09:24:59 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120304092459-cbu7e0ujz24lslpt
Tags: 1:1.4.5-1
[ Cyril Brulebois ]
* New upstream release.
* Switch to dh:
  - Bump debhelper build-dep and compat.
  - Rewrite debian/rules, using autoreconf and quilt sequences.
  - Adjust build dependencies accordingly.
  - Use build-main and build-udeb as build directories.
  - Adjust .install accordingly.
* Remove xsfbs accordingly.
* Add support for hardened build flags through dpkg-buildflags, based
  on a patch by Moritz Muehlenhoff, thanks! (Closes: #654154).

[ Julien Cristau ]
* Remove David Nusinow from Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
static Atom         lastAtom;
55
55
 
56
56
static int
57
 
Hash(char *string, int len)
 
57
Hash(const char *string, int len)
58
58
{
59
59
    int h;
60
60
 
146
146
#pragma weak MakeAtom
147
147
#endif
148
148
 
149
 
weak Atom 
150
 
MakeAtom(char *string, unsigned len, int makeit)
 
149
weak Atom
 
150
MakeAtom(const char *string, unsigned len, int makeit)
151
151
{
152
152
    AtomListPtr a;
153
153
    int         hash;
223
223
#pragma weak ValidAtom
224
224
#endif
225
225
 
226
 
weak int 
 
226
weak int
227
227
ValidAtom(Atom atom)
228
228
{
229
229
    return (atom != None) && (atom <= lastAtom);