~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to proxy/congest/MT_hashtable.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
  static HashTableEntry *alloc()
47
47
  {
48
 
    return (HashTableEntry *) xmalloc(sizeof(HashTableEntry));
 
48
    return (HashTableEntry *)ats_malloc(sizeof(HashTableEntry));
49
49
  }
 
50
 
50
51
  static void free(HashTableEntry * entry)
51
52
  {
52
 
    xfree(entry);
 
53
    ats_free(entry);
53
54
  }
54
55
};
55
56